Up |
lengthFloat
Return the number of digit to "print" a floating point number
Prototype :
fun [F] I
- F : a float.
Return : I the number of digit or nil if error
See also :
lengthNumberFromBase (in Syspack too)
Example :
fun main ()= _showconsole; _fooId lengthFloat 32.2; // 4 _fooId lengthFloat 132.25; // 6 0;;