P
PPCO
I wanted to see if there was a way on a report or in a query to have numbers
50 or larger have no decimal places and numbers under 50 to show 2 decimal
places. I've posted this question before and was told to do this but it never
worked:
Using an unbound control, try:
=IIf([FieldName]>=50,Format([FieldName],"#"),Format([FieldName],"#.00"))
or
format(x,iif(x>50,"0","0.00"))
50 or larger have no decimal places and numbers under 50 to show 2 decimal
places. I've posted this question before and was told to do this but it never
worked:
Using an unbound control, try:
=IIf([FieldName]>=50,Format([FieldName],"#"),Format([FieldName],"#.00"))
or
format(x,iif(x>50,"0","0.00"))