题
当您做小数时,0在正面或后部进行
没有正确的解决方案
其他提示
我假设您正在使用C#,因为这是本网站上的主要语言。
小数没有记录0,而是 M
后缀,例如:
decimal a = 123M;
decimal b = 123.456M;
float c = 123.456M; // compile error
不隶属于 StackOverflow
题
当您做小数时,0在正面或后部进行
没有正确的解决方案
其他提示
我假设您正在使用C#,因为这是本网站上的主要语言。
小数没有记录0,而是 M
后缀,例如:
decimal a = 123M;
decimal b = 123.456M;
float c = 123.456M; // compile error