set aFloat = aFloat.round(base)
round() rounds float to a given base. E.g. if you want to remove the fraction then base is 1.0. The common method is implemented:
round()
base
aFloat
set aFloat1 = aFloat1.round(2); set aFloat2 = aFloat3.round(aFloat4);
Table: Base Examples for the round() Operation
Rounding Result
Base