Converting from Exponential Form
Mark Wieder
mwieder at ahsoftware.net
Mon Jan 12 12:37:31 EST 2009
Dave-
Monday, January 12, 2009, 7:49:10 AM, you wrote:
> I have the string "1.0139648E+9" and I'd like to convert it to:
> "1013964800"
> Any ideas on how I can easily do this?
...off the top of my head...
function normalize pString
set the itemDelimiter to "E"
replace "." with "" in item 1 of pString
return item 1 of pString & "00"
end normalize
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list