Is there any fairly straight-forward way to format a number to include 2 places behind the decimal point, but not include the decimal places if they are trailing zeros? You can specify the number of decimal places to be shown with the FormatNumber function, but the values for the places are always displayed. I only want to display the two decimal places if they are not zero, as follows:
ex) 100000 Output: 100,000
100000.3247 Output: 100,000.32
Any ideas? Thanks.
Patrick
ex) 100000 Output: 100,000
100000.3247 Output: 100,000.32
Any ideas? Thanks.
Patrick