if number length > 15 Error number returned #1476
-
select * from hrms_user_education_info where user_id = "897186557948076033" and company_id = "101"result [ long number The accuracy is inaccurate |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is likely expected behaviour, we map numeric types to a JS number and you can't have precise integer larger than In your case possible solutions are:
|
Beta Was this translation helpful? Give feedback.
This is likely expected behaviour, we map numeric types to a JS number and you can't have precise integer larger than
Number.MAX_SAFE_INTEGER
- see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGERIn your case possible solutions are:
supportBigNumbers
option: