Cicode Programming Reference > Cicode Function Categories > Math and Trigonometry Functions > Round

Round

Rounds a number to a specified number of decimal places.

Syntax

Round(Number, Places)

Number:

The floating-point number to round.

Places:

The number of decimal places.

Return Value

The number rounded to Places decimal places.

Example

IF round(rTag,2) = 15.60 THEN
	tag2 = 5
END

See Also

Math/Trigonometry Functions

Published June 2018