Constructors
Float()
Float(Float)
Float(Integer)
Float(String)
Float(Long)
Methods
toString(Integer)
Converts a float value to its string representation. One of the most frequently used methods, typically when you are going to output something.You must always specify how many decimal digits you want.
abs()
Converts a float value to its absolute value (the non-negative value of the number without regarding the sign).floor()
Returns the Integer preceding the decimal separator. The floor of a Float is calculated by rounding downward to the nearest Integer.round()
Returns the Integer approximation of the Float without any decimals. It is calculated by rounding to the nearest Integer.isNull()
Returns true if it has no value and false if it does.A NULL/NUL/NIL Float is different from zero, in that it is conceptually without a value. However, when a null Float is used naively, CRMScript is usually forgiving and interprets it as zero.`n