Hi, I have a field in a query, as follows -
SharesToPurchas e: [TotalCash] / [Forms]![frm_EnterPurcha seDetails]![txtEnterPurchas ePrice]
where [TotalCash = 272.58, and [txtEnterPurchas ePrice] = 6.49. Dividing [TotalCash] by [txtEnterPurchas ePrice] should come to exactly 42.
This is the only case in my data set where the result works out to a whole number - the rest have fractions. They should all be whole numbers. The problem I'm having is, when I apply the INT function to the above formula, the result of the formula using the figures above is now 41, not 42?! The rest are fine. Please help!
SharesToPurchas e: [TotalCash] / [Forms]![frm_EnterPurcha seDetails]![txtEnterPurchas ePrice]
where [TotalCash = 272.58, and [txtEnterPurchas ePrice] = 6.49. Dividing [TotalCash] by [txtEnterPurchas ePrice] should come to exactly 42.
This is the only case in my data set where the result works out to a whole number - the rest have fractions. They should all be whole numbers. The problem I'm having is, when I apply the INT function to the above formula, the result of the formula using the figures above is now 41, not 42?! The rest are fine. Please help!
Comment