How to keep 2 decimal places
There are many ways to keep two decimal places, for example, the result of the calculation is 2089.984
Rounding method: 2089.98. If the third decimal place is greater than or equal to 5, then round off the third and the subsequent data, and add one to the second decimal place; otherwise, round off the third and the subsequent decimal places, and the second decimal place remains unchanged.
Forward by one: 2089.99. If the third decimal is greater than 0, then the third and subsequent digits are discarded and the second decimal is added by one
Deletion: 2089.98. No matter what happens to the third and subsequent digits, otherwise, the third and subsequent digits are discarded and the second decimal remains unchanged.
Hello, this question has been answered, if you are satisfied
Please click on the bottom right corner of the “adopt the answer”.