access field rounding up newbee needs help

T

terry

I have a field labled "roundup", it is to display the value of retail price
rounded up to the next highest $100.00 mark Example $1440.00 to $1500.00,
here is the expression I am using.

=Round([retailprice],5)
but it will not round up
 
T

Tim Ferguson

I have a field labled "roundup", it is to display the value of retail
price rounded up to the next highest $100.00 mark Example $1440.00
to $1500.00, here is the expression I am using.

controlSource = _
IIf(Price Mod 100 = 0, Price, 100 * Int(Price/100 + 1))


Hope that helps


Tim F
 
Top