• ng.Filter.number is not available in the Lite version

Number ng.Filter.number (Mixed val, [Number mn = Null], [Number mx = Null]) vs. 1.1.0 FULL ONLY

Filters a numeric value and set it between an optional minimum and maximum values.

Parameters

Mixed val Required vs. 1.1.0 Full+Lite
The value to filter.
Number mn (Optional - Default: Null) vs. 1.1.0 Full+Lite
The minimum possible value.
Number mx (Optional - Default: Null) vs. 1.1.0 Full+Lite
The maximum possible value.

Return

Number Required vs. 1.1.0 Full+Lite
The filtered number.

Examples

Using ng.Filter.number(val, mn, mx)
Demo: