add default case for floats