Allowed for floating point numbers
Added comments