Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Round()

  • Last UpdatedJul 22, 2024
  • 1 minute read

Rounds a real number to a specified precision and returns the result.

Category

Math

Syntax

RealResult = Round( Number, Precision );

Parameters

Number

Any number or numeric attribute.

Precision

Sets the precision to which the number is rounded. This value can be any number or a numeric attribute.

Examples

Round(4.3, 1); ' returns 4

Round(4.3, .01); ' returns 4.30

Round(4.5, 1); ' returns 5

Round(-4.5, 1); ' returns -4

Round(106, 5); ' returns 105

Round(43.7, .5); ' returns 43.5

See also

Trunc()

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in