我可以在计算中增加7位浮点数吗? [英] can i increase float 7 digit precesion in calculation ?

查看:78
本文介绍了我可以在计算中增加7位浮点数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家可以在计算中提高float变量的7位精度吗?

gurus can i increase 7 digit precision of float variable in calculation ?

阿里·穆罕默德(Ali Muhammad)

Ali Muhammad

推荐答案

使用double数据类型可以获得大约15位数字.

You can get about 15 digits using the double data type.

如果您需要的精度更高,也许可以解释您的用例,以便我们指导您采取适当的措施(尽管很少需要超过15位精度).

If you need more precision than that, perhaps you can explain your use case so we can steer you to something appropriate (although needing more than 15 digits of precision is exceedingly rare).


这篇关于我可以在计算中增加7位浮点数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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