get an integer, though I guess it could be skipped as the float cases is already handled below