User Tools

Site Tools


syntax:functions:round

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:round [2021/07/31 21:49] craigtsyntax:functions:round [2021/09/07 11:20] – [See also] craigt
Line 23: Line 23:
 =====Examples===== =====Examples=====
  
-  round(5.55, 1) 5.6 +  round(5.55, 1) //Returns 5.6 
-  round(5.65, 1) 5.6 + 
-  round(101.567, 2) 101.57 +  round(5.65, 1) //Returns 5.6 
-  round(101.5784, 3) 101.578 + 
-  round(92.523, 0) 93+  round(101.567, 2) //Returns 101.57 
 + 
 +  round(101.5784, 3) //Returns 101.578 
 + 
 +  round(92.523, 0) //Returns 93
  
 \\  \\ 
Line 33: Line 37:
   * [[syntax:functions:ceiling|Ceiling(number)]]   * [[syntax:functions:ceiling|Ceiling(number)]]
   * [[syntax:functions:floor|Floor(number)]]   * [[syntax:functions:floor|Floor(number)]]
 +  * [[syntax:functions:roundxl|MRound(number, grain)]]
   * [[syntax:functions:roundxl|RoundXL(number, dec_places)]]   * [[syntax:functions:roundxl|RoundXL(number, dec_places)]]
   * [[syntax:functions:truncate|Truncate(number)]]   * [[syntax:functions:truncate|Truncate(number)]]
syntax/functions/round.txt · Last modified: 2023/02/28 20:13 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki