Difference between revisions of "MC-Basic:ROUND/zh-hans"
(Created page with "{{Languages}} == 缩写 == == 格式 == Round(<''expression''>) == 适用版本 == 所有版本 == 描述 == 将参数舍入到最接近的整数,以便随机抽样中的...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Languages}} | + | {{Languages|MC-Basic:ROUND}} |
== 缩写 == | == 缩写 == | ||
Line 9: | Line 9: | ||
== 描述 == | == 描述 == | ||
− | + | 将参数舍入到最接近的偶数,以便随机抽样中的累积误差不超过0.5。例如:<br> | |
− | + | ||
− | 5. | + | 值 舍入到最接近偶数 |
− | 4. | + | |
− | 3. | + | 5.5 6.0<br> |
− | 2. | + | 4.5 4.0<br> |
− | 1. | + | 3.5 4.0<br> |
+ | 2.5 2.0<br> | ||
+ | 1.5 2.0 | ||
|类型= | |类型= |