Originally posted by RealThing
The problem is Maxscript lacks any number formating functions. The number it gives you is the number it gives you and if you don’t like it you’ll need to convert the number to a string and manipulate it from there. Since a string doesn’t care if it’s a number or letter it’s certainly doesn’t know what scientific notation is. So this type of reformating is not easy or clean.
So there are text functions. Then it doesn’t matter as long as you can run a logic statement and check if its a number character. Keeping it clean may prove to be a challenge but just because its possible it will be difficult doesn’t mean its not worth doing. Beyond that a machine doesn’t actually understand what anything it just does what its told.
