Try this in a console

>> value = 12.555
=> 12.555

# divmod returns a hash with the div result in [0]
# and the modulus in [1].
>> hh = value.divmod(1)[1] *100
=> 55.5

# Check it out!
>> hh < 55.5
=> true

>> hh == 55.5
=> false