4D v16.3Round |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Round
Round
Round returns number rounded to the number of decimal places specified by places. If places is positive, number is rounded to places decimal places. If places is negative, number is rounded on the left of the decimal point. If the digit following places is 5 though 9, Round rounds toward positive infinity for a positive number, and toward negative infinity for a negative number. If the digit following places is 0 through 4, Round rounds toward zero. The following example illustrates how Round works with different arguments. Each line assigns a number to the vlResult variable. The comments describe the results: vlResult:=Round(16.857;2) ` vlResult gets 16.86
See also
|
PROPERTIES
Product: 4D HISTORY
Created: < 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||