I have the following function
Private Function calculateCost(payRate, hoursClaimed) As Currency
called like this
dim cost as currency
cost = calculate Cost(rate, hours)
cost will display a value like 119.475
Shouldn't it round up to 119.48 ?
When it gets put into an Access database field with the datatype
currency it does.
Nod
Archived from group: microsoft>public>vb>syntax