| Author |
Force string to convert to long
|
Maja Gralewska
Ranch Hand
Joined: Sep 26, 2008
Posts: 92
|
|
Hi,
Is there a way to convert a decimal(12.4) string to a long? I have searched google and can't seem to find any examples of this, i know long is a whole number but is there a way to convert it anyway??
Thanks
|
Potrzeba jest matka wynalazków
|
 |
Uli Hofstoetter
Ranch Hand
Joined: Nov 24, 2006
Posts: 57
|
|
Hi,
convert it to a Double and then to a long.
Example:
For detail, check out the Double API doc.
Regards,
Uli
|
SCEA5, Certified ScrumMaster
|
 |
Maja Gralewska
Ranch Hand
Joined: Sep 26, 2008
Posts: 92
|
|
|
Thanks Uli
|
 |
 |
|
|
subject: Force string to convert to long
|
|
|