![]() |
VOOZH | about |
Syntax: float.round() Parameter: float value as argument Return: Float value rounded to nearest precision If precision is -ve : integer with at least ndigits.abs trailing zeros If ndigits is +ve : a floating-point number, otherwise integerExample #1 : Output :
rounding a : 1 rounding b : 2999Example #2 : Output :
round a : 0.77 round b : 3000 round c : 2