function
round (shared-side)
Available since version: 0.3.0
This function rounds the floating point number to given decimal place.
Declaration
float round(float x, integer digits = 0)
Parameters
float
x: the value that you want to round.integer
digits: the number of digits after.
to round the floating point value.
Returns float
the rounded value.