A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jun 24, 2008
Oct 07, 2008 06:16:00
i want to parse a long float value.
result = > 999999999999999
But if value is
result = > 10000000000000000
is there any other way i can parse this long value ?
Joined: Oct 29, 2001
Oct 07, 2008 06:24:00
You should be aware that floating-point numbers on computers are approximations, not exact values.
This JDC Article
has examples to illustrate the problem and a solution in Java.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
I agree. Here's the link:
simple problem,pl. help
floating image in firefox ? still in trouble ^_^
Number Conversion to German Format!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014