Round

From MultiCharts
Jump to navigation Jump to search

Returns the value of one specified numerical expression rounded to the number of decimal places specified by another.

Usage

Round(Value, Precision);

Where:

Value - a numerical expression, indicating the value that needs to be rounded.
Precision - a numerical expression, indicating the number of decimals.

Examples

Round(1.237, 2);

Will return a value of 1.24.

Round(-5.7744, 3);

Will return a value of –5.774.