什么描述了 NSNumberFormatter -maximumSignificantDigits? [英] What describes NSNumberFormatter -maximumSignificantDigits?

查看:15
本文介绍了什么描述了 NSNumberFormatter -maximumSignificantDigits?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档中没有关于这意味着什么的文字,但为了不遇到麻烦,理解它听起来非常重要.有人知道数字的有效数字"是什么意思吗?

There's no text in the documentation about what that means, but it sounds very important to understand in order to not run into trouble. Does someone know what that is all about the "significant digits" of a number?

推荐答案

参见这里 有一个关于有效数字的很好的教程.非常简单的解释是:在您的应用中用于计算的位数.

See here for a nice tutorial on significant digits. Very simple explanation would be: the number of digits that are used for calculations within your app.

这篇关于什么描述了 NSNumberFormatter -maximumSignificantDigits?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆