This content has been marked as final.
Show 2 replies

1. Re: Rounding numbers to show cents
philmodjunk Jun 14, 2010 4:55 PM (in response to LisaB.)Div is a function that returns an integer value. It's the computer equivalent of doing grade school long division, finding the quotient and ignoring the remainder.
Use this expression instead: Print Cost / Print Quantity
To round to the nearest cent, you can either enclose it in a round function Round ( Print Cost / Print Quantity ; 2 )
Or format the field on your layout on your layout as a decimal with two decimal places.
These two options are not equivalent, they just look the same. Which approach is best depends on how you need to use this value after you've computed it.

2. Re: Rounding numbers to show cents
LisaB. Jun 15, 2010 7:08 AM (in response to LisaB.)That did the trick. Thank you!