Posted 31 March 2025, 6:25 pm EST
I’m building a UI that doesn’t leverage a lot of the spreadsheet capabilities, so I don’t need calculations and that kind of thing. But I DO need to store exactly what the user inputs, not an approximation of it.
The reason being that some of these things will potentially quite big numbers like IDs where the scientific notation/rounding for 15+ digit numbers will not be a good solution.
I found this thread
https://developer.mescius.com/forums/spreadjs/why-its-auto-rounded-the-last-digit-in-a-over-15-degits-number
which shows how to intercept a new cell value, but it’s already been interpreted as a javascript number at that point.
Is there a way to either force intercept the input value as a string, like from the event directly or disable some of the type interpretation to force numbers to be strings?