| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
How to round floating point values
Source position: mathh.inc line 36
type TFPURoundingMode = (  | 
||
rmNearest,  | 
  | 
Round to nearest integer  | 
rmDown,  | 
  | 
Round to biggest integer smaller than value.  | 
rmUp,  | 
  | 
Round to smallest integer larger than value  | 
rmTruncate  | 
  | 
Cut off fractional part  | 
);  | 
TFPURoundingMode enumerates the possible values for software floating point math rounding. It has been moved here from the math unit.
  | 
Type describing the default precision for Floating Point math.  | 
|
  | 
Rounding mode for softfloat  |