Home Search

DriveWorks Pro 22
Round

Send Feedback

Round

This function will return the number rounded to the specified number of decimal places.

Syntax

Round([Number], [DecimalPlaces])

Where:

Number is a number or a reference to a number, that should be rounded to a specified number of decimal places.

DecimalPlaces is the number of decimal places to which the number should be rounded.

Examples

Rule

Meaning
Round(WidthTextBoxReturn/4, 2)Determines the return value of WidthTextBox divided by 4, and rounds it to 2 decimal places.

Example Outcomes

WidthTextBoxReturn/4 Value

Decimal Places

Result of the Round function

36.5823563236.58
187.5284924187.5285
78.343545078

Calculating Values

Operator

Meaning
+Adds the value on the left hand side of the operator to the value on the right hand side of the operator
-Subtracts the value on the right hand side of the operator from the left hand side of the operator
*Multiplies the value on the right hand side of the operator by the value on the left hand side of the operator
/Divides the value on the left hand side of the operator by the value on the right hand side of the operator