I'm creating some mail merge letter templates which include a field for a currency amount, and I'm looking for a way to conditionally change the amount of decimals shown depending on what the value is. I need it so whole numbers don't display any decimal places, but anything with pence shows 2, as per the following:
3.00 shows as 3
3.78 shows as 3.78
3.50 shows as 3.50 (not 3.5)
The merge data doesn't come from Excel, and I can't edit the values at the source, so the formatting would have to be applied to the merge field itself on Word. I haven't been able to find how to do this anywhere - would be very grateful for any help!
3.00 shows as 3
3.78 shows as 3.78
3.50 shows as 3.50 (not 3.5)
The merge data doesn't come from Excel, and I can't edit the values at the source, so the formatting would have to be applied to the merge field itself on Word. I haven't been able to find how to do this anywhere - would be very grateful for any help!