寄托天下
查看: 2234|回复: 1

[数学] G中的四舍五入 [复制链接]

Rank: 9Rank: 9Rank: 9

声望
754
寄托币
4965
注册时间
2012-8-22
精华
2
帖子
1220

Aquarius水瓶座 寄托兑换店纪念章 US-applicant 荣誉版主

发表于 2013-3-22 19:50:09 |显示全部楼层
刚看数学词汇,想到四舍五入,是最简单的,还是那种 看前一位是偶数还是奇数的那种

eg.

1.345 保留两位小数

最简单的:1.35  
later: 1.34

thx

使用道具 举报

Rank: 7Rank: 7Rank: 7

声望
613
寄托币
3767
注册时间
2012-11-23
精华
2
帖子
1529

IBT Zeal AW小组活动奖 AW作文修改奖 US-applicant

发表于 2013-3-22 19:53:31 |显示全部楼层
根据math convention:

When a positive number is to be rounded to a certain decimal place and the number is halfway
between the two nearest possibilities, the number should be rounded to the greater possibility. For
example, 23.5 rounded to the nearest integer is  24, and 123.985 rounded to the nearest 0.01 is
123.99. When the number to be rounded is negative, the number should be rounded to the lesser
possibility. For example,  -36.5 rounded to the nearest integer is     - 37
————————————————————————————————————
应该是最简单的那种
已有 2 人评分声望 收起 理由
Enolate + 2 谢谢~
风潇水涵 + 4 thx 4 ur time。

总评分: 声望 + 6   查看全部投币

使用道具 举报

RE: G中的四舍五入 [修改]

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
G中的四舍五入
https://bbs.gter.net/thread-1523126-1-1.html
复制链接
发送
回顶部