由网友(慢慢冷却的心)分享简介:是否有可能使用system.currency。它说system.currency无法访问由于其保护级别。什么是货币的替代品。Is it possible to use system.currency. It says system.currency is inaccessible due to its protect...
是否有可能使用system.currency。它说system.currency无法访问由于其保护级别。什么是货币的替代品。
Is it possible to use system.currency. It says system.currency is inaccessible due to its protection level. what is the alternative of currency.
推荐答案
您必须使用十进制数据类型。
小数关键字指示128位的数据类型。相比于浮点类型,十进制类型有更多的precision和一个较小的范围内,这使得它适用于金融和货币计算。
The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has more precision and a smaller range, which makes it appropriate for financial and monetary calculations.
相关推荐
最新文章