我需要一些帮助才能计算出工资的最后两位小数点,如下所示
- 如果 00 到 12,那么 00
- 如果 13 到 37,则向上取整到 25
- 如果 38 到 62,则向上取整到 50
- 如果 63 到 87,则向上取整到 75
- 如果 88 或更多,则向上取整到 100
例子:
By Apllying the above principles
if the amount is 79.109 have to change it to 79.100
if the amount is 132.528 have to change it to 132.525
if the amount is 258.739 have to change it to 258.750
if the amount is 452.264 have to change it to 452.275
如果金额为 124.998,则必须将其更改为 125.000