Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Test if number is integer or float?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jorgen Grahn, post: 4046241"] You don't have to assume; you can then try strtod() in the same way. Note that naive regexp solutions probably will give false negatives on a lot of rarely-used formats, such as hexadecimal floats and whatnot. /Jorgen [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Test if number is integer or float?
Top