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

Number ng.Filter.less_than (Mixed val, Number mx) vs. 1.1.0 FULL ONLY

Filters a number and make sure its less or equal a maximum value.

Parameters

Mixed val Required vs. 1.1.0 Full+Lite
The value to filter.
Number mx Required vs. 1.1.0 Full+Lite
The maximum possible value.

Return

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

Examples

Using ng.Filter.less_than(val, mx)
Demo: