【问题标题】:round numbers to non-decimal numbers [duplicate]四舍五入到非小数[重复]
【发布时间】:2022-01-23 18:12:15
【问题描述】:

如何四舍五入以下数字:

16554.26442238.987

到:

165502240

165602230

谢谢

【问题讨论】:

标签: r numbers rounding


【解决方案1】:

将数字除以 10,使用 floor 或 ceil 四舍五入,然后乘以 10。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-05-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-24
    • 2012-03-11
    • 1970-01-01
    相关资源
    最近更新 更多