简体   繁体   English

如何在JavaScript中使用Int64类型序列化变量而又不损失准确性?

[英]How can i serialize variable with type of Int64 in JavaScript without loss of accuracy?

How can i serialize variable with type of Int64 in JavaScript without loss of accuracy? 如何在JavaScript中使用Int64类型序列化变量而又不损失准确性? My development platform is. 我的开发平台是。 NET. 净。

Where is the Int64 coming from? Int64来自哪里? Why do you need it to be Int64 in JavaScript? 为什么需要使用JavaScript将其设为Int64? Do you just need it as a string? 您只需要它作为字符串吗? Some code would help. 一些代码会有所帮助。

If you need a JavaScript bigint library, there's one here . 如果您需要JavaScript bigint库,请在此处找到一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM