Added in 1.8.10
Returns the specified floating point number rounded to the Dth decimal digit.
N - The number to round. (N is a double)
D - The number of decimals to round to.
; Round '3.14159' to '2' decimals. //echo -ag $round(3.14159,2)
Updated by Mr. BS about 2 years ago · 3 revisions