I do not really undestand what you really need!
Do you mean student can key in 0, 6.28, 12.56,18.84,... etc
But it is incorrect if the input value is one of 6.27, 6.29,12.55,12.57, 11.0,... etc?