Phenomenon: Operation and maintenance asked me a question today. Two different browsers saw the same number with different last decimal places.
One browser is ie11, which displays 1.44.
One browser is google browser, which shows 1.43.
Idea: My first reaction should be that js has a rounding operation, such as toFixed(2).
I guess that different browsers parse the toFixed function differently. It may not be simple rounding, and some may have a banker algorithm (rounding to six, five odd to even rounding).
I searched it and found it was consistent with my expectations.
Reference URL:
https://blog.csdn.net/aiyaobucuoo/article/details/54668856
Suggestion : reduce the front-end calculation and try to show only. Try to be careful when it comes to operations that may cause differences such as division and keeping decimals.