math.round(n) rounds n to the nearest whole number.
math.round(n)
n
if nis a number, returns nrounded to the nearest whole number; 0.5rounds up.
0.5
if nis not a number, returns null.
null
Last updated 10 months ago
Was this helpful?