Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   val return code (https://www.delphipraxis.net/217211-val-return-code.html)

DP News-Robot 22. Mai 2025 11:50

val return code
 
I am not sure what the return code from val() is supposed to be. If I try to convert a number in val() that is too large for a floating point Double, say 1e310, I do not get an error and the return code is 0. The converted Double is '+inf' in the debug...

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:43 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