ollie101
04-27-2009, 09:20 AM
Hi,
I need to find a way to convert standard form numbers into ints. By standard form I mean like this 2.3E-20 or this -4.127E-22.
The only way I can think of doing this would to be using charAt() and searching for minus signs and then somehow sticking the 0's where they need to be in the int using a loop of some kind
Can anyone help?
I need to find a way to convert standard form numbers into ints. By standard form I mean like this 2.3E-20 or this -4.127E-22.
The only way I can think of doing this would to be using charAt() and searching for minus signs and then somehow sticking the 0's where they need to be in the int using a loop of some kind
Can anyone help?