how do i set a maximum value for a variable. say i have the number 5.70 i want to set the variable to not let the tenths and hundredths places to get past 59 if they are beyond 59 then round up from for example. 5.70 to 6.10 or 5.65 rounded to 6.05..can this be done.....i`m trying to program a pay roll for a class assignment and i need help i already have the daily hours worked, the uder inputs start and end times and the computer subtracts the start time from 12.60 (12 hours on a clock 60 mins in an hour) then subtracts that number from the end time to get hours worked in a day but sometimes the mins are over 59 so i need it to round the hours up..
thanx alot for your help i really appreciate it
Honkey
thanx alot for your help i really appreciate it
Honkey