Returns the rounded value.

 

Syntax:

value = Round( expression1, decimals )

 

Parameter:

Description:

expression1

Any numeric expression

decimals

Number of decimals to round too.

 

Example:

value = Round( 5.123456, 2 )   ' Returns 5.12
value = Round( 1.25 + 1.5, 1 ) ' Returns 2.8
value = Round( 12345, -2 )     ' Returns 12300

Returns:

Lowest value of the list of expressions.

 

Links:

AsInteger, Ceiling, Floor

See Also:

Mathematical Functions

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 508

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software