Hi Alejandro,
I'd say that 10e isn't a number because the exponent is missing. 10e2,
however, is a number and LiveCode understands this.
put 10e2*1
--> 1000
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/
On 9/3/2013 23:37, Alejandro Tejada wrote:
Hi all,
Does LiveCode have a function to convert
E notation to standard notation?
http://en.wikipedia.org/wiki/Scientific_notation#E_notation
This script produces a compile error:
put 9.7e is a number
The message is:
Error description: Expression: unquoted literal
Some svg files uses E notation for their path coordinates.
I know that Inkscape could "simplify" these kind of
paths, but this could be really inconvenient many times.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-Creating.html
Thanks in advance!
Al
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode