eeeeaaii / vodka

Creative Coding Environment
GNU General Public License v3.0
126 stars 3 forks source link

when floats go into exponential notation then they don't save into files correctly and then it can't be parsed #208

Open eeeeaaii opened 2 years ago

eeeeaaii commented 2 years ago

Basically the Float nex is storing numbers as a string representation rather than a JS number object internally. That means that arithmetic with large numbers doesn't even work.

It needs to store the numbers internally as actual numbers, and also, the parser needs to be updated to handle large numbers (it's just the letter e I think).