C
Chris Stammers
I need to format a currency field to be £0.00 if greater than £1 and 00p if
less than £1 in the data source. The data source holds the data as 1.00 or
..50. I have created this query: {IF { MERGEFIELD } > 1 "£{MERGEFIELD\#,0.00 }
"{ MERGEFIELD\#.00 }p" }
The query does work but where there is just .50, it shows in the merge doc
with a leading decimal point. My question is this - is there a formatting
switch to get rid of the decimal point in the case where it is just pence? I
have tried taking the decimal point away and the query stops working. I tried
susbtituting the hash sign for a '@' instead and that didn't work either. Any
suggestions?
Thanks,
Chris
less than £1 in the data source. The data source holds the data as 1.00 or
..50. I have created this query: {IF { MERGEFIELD } > 1 "£{MERGEFIELD\#,0.00 }
"{ MERGEFIELD\#.00 }p" }
The query does work but where there is just .50, it shows in the merge doc
with a leading decimal point. My question is this - is there a formatting
switch to get rid of the decimal point in the case where it is just pence? I
have tried taking the decimal point away and the query stops working. I tried
susbtituting the hash sign for a '@' instead and that didn't work either. Any
suggestions?
Thanks,
Chris