I need to display a certain number of decimal places but the displayed value cannot be rounded.
It's similar to the Trunc() function but the value of the cell using the Trunc() function does not account for all of the decimal places available in the original number.
in the example below, if I truncate the values to 4 decimal places then multiply it by 3, I get different results than using the original value.
original value truncated to 4 decimal places and displayed with 9 places.
0.05498381180 0.054900000
both multiplied by 3
0.164951435 0.1647
changing the displayed format of the cell results in a rounded value (e.g. 0.0550)
The displayed value needs to be 0.0549 but subsequent calculations need to use all of the available decimals.
Bookmarks