J
John Dempsey
In Word I am trying to format a number created from a formula,
examples below:
If 40.00 want to display no decimals so just 40
If 37.50 want to display just 37.5
If 37.75 want to display just 37.75
How do you do this. This looks a fairly easy task and I am probably
being completely stupid, but I cannot find out how to do this with
switches.
{ =({MERGEFIELD} + 0) \# "0.00" }
This adds 2 decimals no matter what.
Any ideas.
Cheers JED
examples below:
If 40.00 want to display no decimals so just 40
If 37.50 want to display just 37.5
If 37.75 want to display just 37.75
How do you do this. This looks a fairly easy task and I am probably
being completely stupid, but I cannot find out how to do this with
switches.
{ =({MERGEFIELD} + 0) \# "0.00" }
This adds 2 decimals no matter what.
Any ideas.
Cheers JED