numeric library

Validators related to numbers or digits.

Examples of numeric input data:

  • a three-digit numeric code
  • a six-digit password
  • a hexadecimal value
  • Minimum Order Quantity — the fewest number of units required at one time.

Classes

Digit
Digit - any one of the ten numbers 0 to 9.
Hex
Hex - any one of the sixteen hexadecimal digits 0 to F.
Int
Integer constraints — limits input data to integer values.
Num
Numeric constraints — limits input data to numeric values.
ReqDigit
Convenient validator for required, digit-only fields.
ReqHex
Convenient validator for required hexadecimal fields.
ReqInt
Convenient validator for required, integer fields.
ReqNum
Convenient validator for required, numeric fields.