Hi all,
I am working on a payroll program and i am having problem with numbers like is i xtt = "1.5" and it round it to 2 in sted of 1.2
this is what i am doing
Dim xtt As Interger
Dim reghours As Interget
Dim xtotal As Interger
xtt = "1.5"
reghoure = "2.5"
xtotal = att * reghoure
when i debut it
xtt = 2
reghoure = 3
How can i fix this please
Kenneth
kennethg@act2000.net
I am working on a payroll program and i am having problem with numbers like is i xtt = "1.5" and it round it to 2 in sted of 1.2
this is what i am doing
Dim xtt As Interger
Dim reghours As Interget
Dim xtotal As Interger
xtt = "1.5"
reghoure = "2.5"
xtotal = att * reghoure
when i debut it
xtt = 2
reghoure = 3
How can i fix this please
Kenneth
kennethg@act2000.net