
1
What does float() in an expression?
Hello,
I'm working on an app right now and have seen float() in a price expression.
Can't find this in the betty doc. What does it do?
THNX!
Hello,
I'm working on an app right now and have seen float() in a price expression.
Can't find this in the betty doc. What does it do?
THNX!
-
It tries to cast the value to the float data type. Including strings so then you might be able to calculate with it which might not work correct if you don't.
Answers
Sort by: