Root cause for this is in the method numberToPrecision which first changes the precision from actual precision to a +2. and then rounds the number based on the given precision. So the number in this case 12849872883 changes to 12.850 and when finally rounded becomes 12.9
Actual =>
12.9B
Expected =>12.8B
Root cause for this is in the method
numberToPrecision
which first changes the precision from actual precision to a +2. and then rounds the number based on the given precision. So the number in this case12849872883
changes to12.850
and when finally rounded becomes12.9