help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'math' (#rtl)

RoundTo

Round to the specified number of digits

Declaration

Source position: math.pp line 228

function RoundTo(

  const AVAlue: Extended;

  const Digits: TRoundToRange

):Extended;

Description

RoundTo rounds the specified float AVAlue to the specified number of digits and returns the result. This result is accurate to "10 to the power Digits". It uses the standard Round function for this.

See also

TRoundToRange

  

Range with valid range of digits in RoundTo

SimpleRoundTo

  

Round to the specified number of digits (rounding up if needed)

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505