Navigation:  Module 1 - Energy Accounting > Accounts & Invoices Tab > User Defined Components > Functions >

Round

Previous page Next page
  rev. 2011-02-09        

Round

Description:

Rounds a value to the specified number of fractional digits.

Syntax:

Round(value, digits)

Type:

Double Precision Numeric

Arguments:

Argument

Type

Description

value

double

The number to be rounded.

digits

integer

The number of decimal places in the return value.

Examples:

Expression

Result

Round(151.23525,0)

151

Round(151.23525,1)

151.2

Round(151.23525,2)

151.24

Round(151.23525,3)

151.235



S2_Round_Function         ©2014 Managing Energy Inc.