YCP Float Builtins
YCP Float Builtins
Table of Contents
float::abs
— absolute value
float::ceil
— round upwards to integer
float::floor
— round downwards to integer
float::pow
— power function
float::tolstring
— Converts a floating point number to a localized string
float::trunc
— round to integer, towards zero
tofloat
— Converts a value to a floating point number.
tostring
— Converts a floating point number to a string