阅读背景:

在C#中格式化具有重要数字的数字

来源:互联网 

I have some decimal data that I am pushing into a SharePoint list where it is to be viewed. I'd like to restrict the number of significant figures displayed in the result data based on my knowledge of the specific calculation. Sometimes it'll be 3, so 12345 will become 12300 and 0.012345 will become 0.0123. Occasionally it will be 4 or 5. Is there any convenient way to handle this?I have some decimal data that I am pushing into




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: