Query Calculation if <1 then 1

Wapug

Registered User.
Local time
Today, 04:48
Joined
Apr 14, 2017
Messages
51
I have a field expression for a query as follows QR#:[TOTAL*0.02
this this obviously returns 2% of my total field. My desire is to get the number 1 if the result is less than 1. How would I go about this?
 
if you literally want to have a number less than one be one, could you do:

Code:
QR_No:iif(([TOTAL]*0.02)<1,1,[TOTAL]*0.02)
 
Thank you immensely!! I probably should know that but of course I didn’t. I appreciate your time.
 

Users who are viewing this thread

Back
Top Bottom