Using the Round function in VB6.0.
The Round function wants to round up to only the next even number. Example: Round(15.545,2) rounds to 15.54
Round(15.555,2) rounds to 15.56
I need to round to the next number regardless of whether its even or odd. Example:
need Round(15.545,2) to round to 15.55
I am using Currency data type but doesn't seem to matter what data type I use.
I am doing currency calcs in payroll and always need to give the employee the .5 cents as an extra penny which adds up over a period of hours and time.
Any help or suggestions is appreciated.
TNN, Tom
TNPAYROLL@AOL.COM
TOM
The Round function wants to round up to only the next even number. Example: Round(15.545,2) rounds to 15.54
Round(15.555,2) rounds to 15.56
I need to round to the next number regardless of whether its even or odd. Example:
need Round(15.545,2) to round to 15.55
I am using Currency data type but doesn't seem to matter what data type I use.
I am doing currency calcs in payroll and always need to give the employee the .5 cents as an extra penny which adds up over a period of hours and time.
Any help or suggestions is appreciated.
TNN, Tom
TNPAYROLL@AOL.COM
TOM