Oven Timer Functionality - Counting by 1's and 10s

My initial thoughts are to do something with changing the data type for my SetTime varible to a float, then divide SetTime by 10 to get a decimal number, then use the int() conversion function to truncate SetTime to a multiple of 10, multiply SetTime by 10 to get back to the correct value, then change the increment to 10 instead of 1.

Or maybe

incval = count > 19 ? 10 : 1;
count += incval;

Rob