number
$number
Validates and coerces values to numbers. Accepts numeric strings, integers, and floats. Rejects NaN, Infinity, and non-numeric values.
Validates and coerces values to numbers. Accepts numeric strings, integers, and floats. Rejects NaN, Infinity, and non-numeric values.