thomthom / extension-sources

Developer tool for managing additional sources to load SketchUp extensions from.
https://extensions.sketchup.com/extension/a9f18009-29cc-4c43-a0a7-e018e7a6563b/Extension%20Sources
MIT License
6 stars 0 forks source link

Loosing Integer precision via JavaScript round-trip #2

Closed thomthom closed 2 years ago

thomthom commented 2 years ago

String.to_h is not platform consistent. On mac it produce large values. These values passes to JavaScript and back might be off by one after being converted to JS Number (Float) back to Ruby.