Source code

CERNY.text.NumberFormat

This script provides a constructor to produce number formats. The constructor has attached some popular number formats.

Uses

Used by

None

Functions

NumberFormat

Create a number format.

return (object) : an object representing the number format
parse

Parse a String into a number.

numStr - the string to parse _type - the type of the number ("Float" or "Int"); default is "Float"

*/

History

2007-05-17 : Refactored.
2007-03-23 : Removed silly dependency to CERNY.text.
2007-03-15 : Added signatures.
2006-07-03 : Created.

API Documentation for version

1.4

Scripts

1.4

Functions

Functions

NumberFormat parse

Support

If you have any question or suggestions regarding Cerny.js, do not hesitate to contact me. Your input is always welcome.