简体   繁体   English

在VB.NET中应使用哪种数据类型来处理100个十进制数字或更高的精度? Double似乎只显示约17

[英]What datatype should be used in VB.NET to handle a precision of like a 100 decimal numbers or more? Double seems to display only about 17

What datatype should be used in VB.NET to handle a precision of like a 100 decimal numbers or more? 在VB.NET中应使用哪种数据类型来处理100个十进制数字或更高的精度? Double seems to display only about 17. Double似乎只显示约17。

Decimal can display up to 28 places to the right of the decimal according to the documentation. 小数可以根据文档显示多达28位到小数点右边。

There is no built in type that can handle 100. But you could potentially build your own type to handle your requirements. 没有内置类型可以处理100。但是您可以潜在地构建自己的类型来满足您的需求。

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

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