635 Star 2.6K Fork 782

柠檬夕桐 / sequence

 / 详情

数据拿到页面中 丢失精度

Done
Opened this issue  
2017-08-10 14:34

long 类型拿到页面中不还转成string 丢失精度

Comments (2)

王尼玛 created 任务

javascript的精度达不到64bit,因此会丢失精度。为了解决这个问题,后台返回到前台的时候,需要转换成string

上层代码,自行转换为String类型即可

柠檬夕桐 closed 任务

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(3)
78621 yu120 1634033495
Java
1
https://git.oschina.net/yu120/sequence.git
git@git.oschina.net:yu120/sequence.git
yu120
sequence
sequence

Search