## P4A_Number

Description

Number Class.

- author: Andrea Giardina <andrea.giardina@crealabs.it>
- author: Fabrizio Balliano <fabrizio.balliano@crealabs.it>

Located in /p4a/libraries/number.php (line 45)

Method Summary
string format ([string $number = null], array $format)
string unformat (string $number, array $format)
Methods
format (line 55)

Format a number using a format.

Format is PHP number_format compatible.

- access: public

string format ([string $number = null], array $format)

- string $number: The number
- array $format: The format

unformat (line 83)

UnFormat a number formatted using "format".

This function takes a formatted number back to its international notation.

- see: P4A_Number::format()
- access: public

string unformat (string $number, array $format)

- string $number: The number
- array $format: The format used in formatting phase

Documentation generated on Fri, 26 May 2006 12:43:29 +0200 by phpDocumentor 1.3.0RC5