Support non-integer input