• ng.Format is not available in the Lite version

Object ng.Format vs. 1.1.0 FULL ONLY

The ng.Format object is a collection of functions with general formatting functions

Properties

Function ng.Format.any (val) vs. 1.1.0 FULL ONLY
This function returns the value as is.
Function ng.Format.number (val, dec, dec_pnt, thsnd_sep, round) vs. 1.1.0 FULL ONLY
Format a number with grouped thousands.
Function ng.Format.money (val, frmt, neg_regexp) vs. 1.1.0 FULL ONLY
Format a value as a money format.
Function ng.Format.phone (val, frmt, trim) vs. 1.1.0 FULL ONLY
Format a string as a phone number.
Function ng.Format.us_zip (val) vs. 1.1.0 FULL ONLY
Formats a string as a US zip code.
Function ng.Format.canada_zip (val) vs. 1.1.0 FULL ONLY
Formats a string as a Canadian postal code.
Function ng.Format.credit_card (val, sept) vs. 1.1.0 FULL ONLY
Formats the value as a credit card number. This function can format Amex (15 digits) or others credit cards (16 digits).
Function ng.Format.credit_card_stars (val, len, star) vs. 1.1.0 FULL ONLY
Formats a string as a star obscure credit card number.
Function ng.Format.date (val, format, lang) vs. 1.1.0 FULL ONLY
This function is the same as Date.print