Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
When doing some test with large numbers in JSON attributes I realized that Couchbase Console is 'changing/rounding' some values due probably to the internal limitations of JS language.
For example save using a client this:
–
—
if you look at this in the console the value is now:
—
—
So the console "changes" the value, only as a view for now, but if the use click "Save", the value is changed in the DB.
This is due to JS limits, if I execute this in JS engine:
console.log(12345678901234567890);
it shows:
12345678901234567000
So I do not have a solution for that but I guess we should:
- at least document this
- see if we cannot do something like not put a message and disable the save when one of the attribute will be rounded.
Attachments
Issue Links
- relates to
-
DOC-18 Document editor overwrites precision of long numbers
- Closed