Changed One, Two and Res to float for decimal handling