[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'math' (#rtl) |
Round to the specified number of digits (rounding up if needed)
Source position: math.pp line 240
function SimpleRoundTo( |
const AValue: Extended; |
const Digits: TRoundToRange = -2 |
):Extended; |
SimplRoundTo rounds the specified float AVAlue to the specified number of digits, but rounds up, and returns the result. This result is accurate to "10 to the power Digits". It uses the standard Round function for this.
|
Range with valid range of digits in RoundTo |
|
|
Round to the specified number of digits |
No notes exist for this page yet.