![]() |
Why is the result of RoundTo(87.285, -2) => 87.28 – Stack Overflow
Programmers on all sorts of platforms get this wrong all the time (I admit having done this in bad ways myself too). In short: Don’t expect floating point values in a computer to be represented as decimals. Rob Kennedy wrote a very nice answer on this: The exact value 87.285 is not ...http://feeds.feedburner.com/~r/delph...~4/pCwEKWqh0O8
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz