Actions
  $round » History » Revision 1
    Revision 1/5
      | Next »
    
    Per Amundsen, 08/11/2015 10:08 AM 
    
    
Added in 1.8.10
$round(N,D)
Returns the specified floating point number rounded to the Dth decimal digit.
Parameters
N - The number to round.¨_(N is a double)_
D - The number of decimals to round to.
Example
; Round '3.14159' to '2' decimals. //echo -ag $round(3.14159,2) </pre<
Updated by Per Amundsen about 10 years ago · 5 revisions