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
 [email protected]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to