| Author |
How to cast a string into a float?
|
George Ren
Ranch Hand
Joined: Aug 17, 2002
Posts: 58
|
|
I want to make a string like "123" to a float number like 123.000. How can I achieve this? Thanks for help! Regards, Have a nice day!
|
THINK!
|
 |
jim gotti
Ranch Hand
Joined: Jul 02, 2002
Posts: 36
|
|
Float.parseFloat(String) may help? If you need to keep the precision of 3 decimals this thread may help
|
 |
George Ren
Ranch Hand
Joined: Aug 17, 2002
Posts: 58
|
|
Thanks a lot. It does work
|
 |
 |
|
|
subject: How to cast a string into a float?
|
|
|