PRuleNumeric constructor
Check if the value is a valid number
value
is the value to check
separator is the separator for the decimal
message is the error message
Implementation
PRuleNumeric(this._value,
{this.separator = ".", this.message = "Invalid number"});