Registriert seit: 5. Jan 2005
Ort: Stadthagen
9.454 Beiträge
Delphi 10 Seattle Enterprise
|
AW: Re: Count digits after point
15. Feb 2014, 21:53
Thanks, for all values I used early, is working correctly.
BTW: why e has that value, can have other values?
Have a look at the documentation System.Math.SameValue and System.Math.CompareValue and read what is the meaning of Epsilon.
Another helpful article is http://en.wikipedia.org/wiki/Machine_epsilon
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9 dc 90 9d f0 e9 de 13 da 60)
Geändert von Sir Rufo (15. Feb 2014 um 21:56 Uhr)
|