如何在float中将浮点数舍入到指定的有效数字位数? [英] How do I round a float to a specified number of significant digits in Ruby?

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