Round |
Top Previous Next |
×V4.0Ø
Syntax - Round <Variable Name> <Source Value> <NumberOfPlaces> Where: <Variable name> is the user defined name that is assigned to the variable. <Source Value> is a numeric value or a variable that contains a numeric value. <NumberOfPlaces> is an integer or a variable that contains an integer.
Description: This command is used to round a numeric value to the number of places after the decimal point as specified by <NumberOfPlaces>.
Sample: The following statement uses Round command to round the value in the CashCollected variable to the nearest dollar. Round CashCollected CashCollected 0
|