The value returned by the api exceeds 17 bits, resulting in the last three bits of json data being 0. The original value type is long, and the precision is reduced after it is converted to json. Later, we considered parsing with xmlhttprequest, and found that appsmith closed xhr. The api provider cannot provide support. What do I need to do to get the accurate value?
Hello, and welcome to our community!
Unfortunately, this is a JavaScript limitation. Integers cannot be higher than 16 digits long. The only workaround is to return them as strings.
Thanks for the reply!
It seems i need to ask the api provider’s help.