Fixed floating numbers to rational