G
Guest
OS:WinXP
Access 2k3 (2k file format)
Im trying to round currency using the Round() function for example:
If Rst_Inventory_Master![Taxable-Burlington] = True Then
ExtendedSale = Rst_Inventory_Master![Price] * Me.txt_Amount.Value
TaxCollectedRAW = (ExtendedSale * LocationTaxRate)
TaxCollected = Round(TaxCollectedRAW, 2)
Rst_SalesTemp![Tax] = TaxCollected
Else
Rst_SalesTemp![Tax] = 0
End If
TaxCollectedRAW = .765
TaxCollected = Round(TaxCollectedRAW, 2)
I would expect the Round function to return a value of .77 but it is
returning a value of .76
All variables are declared as Currency types.
If there is something i am overlooking here please pass your knowledge along
Thanks
-
Joseph Schroeder
Director of Software Development
Vazcom Communications Inc.
Access 2k3 (2k file format)
Im trying to round currency using the Round() function for example:
If Rst_Inventory_Master![Taxable-Burlington] = True Then
ExtendedSale = Rst_Inventory_Master![Price] * Me.txt_Amount.Value
TaxCollectedRAW = (ExtendedSale * LocationTaxRate)
TaxCollected = Round(TaxCollectedRAW, 2)
Rst_SalesTemp![Tax] = TaxCollected
Else
Rst_SalesTemp![Tax] = 0
End If
TaxCollectedRAW = .765
TaxCollected = Round(TaxCollectedRAW, 2)
I would expect the Round function to return a value of .77 but it is
returning a value of .76
All variables are declared as Currency types.
If there is something i am overlooking here please pass your knowledge along
Thanks
-
Joseph Schroeder
Director of Software Development
Vazcom Communications Inc.