NumberFormatInfo class
Defines how numeric values are formatted and displayed, depending on the culture. Numeric values are formatted using standard or custom patterns stored in the properties of a NumberFormatInfo.
This class contains information, such as currency, decimal separators, and other numeric symbols.
To create a NumberFormatInfo for a specific culture, create a CultureInfo for that culture and retrieve the CultureInfo->NumberFormat property. Or use NumberFormatInfo::getInstance($culture). To create a NumberFormatInfo for the invariant culture, use the InvariantInfo::getInvariantInfo().
Located in /I18N/core/NumberFormatInfo.php (line 48)
Initializes a new writable instance of the NumberFormatInfo class
that is dependent on the ICU data for number, decimal, and currency formatting information. N.B.You should not initialize this class directly unless you know what you are doing. Please use use NumberFormatInfo::getInstance() to create an instance.
Returns the currency format info associated with the specified culture.
Gets the string to use as the currency symbol.
Indicates the number of decimal places.
Gets the string to use as the decimal separator.
Gets the string that separates groups of digits to the left of the decimal in currency values.
Gets the number of digits in each group to the left of the decimal There can be two grouping sizes, this fucntion returns array(group1, group2), if there is only 1 grouping size, group2 will be false.
Returns the NumberFormatInfo associated with the specified culture.
Gets the default NumberFormatInfo that is culture-independent (invariant).
Gets the string that represents the IEEE NaN (not a number) value.
Gets the string that represents negative infinity.
Gets the format pattern for negative values.
The negative pattern is composed of a prefix, and postfix. This function returns array(prefix, postfix).
Gets the string that denotes that the associated number is negative.
Returns the percentage format info associated with the specified culture.
Gets the string to use as the percent symbol.
Gets the string to use as the per mille symbol.
Gets the string that represents positive infinity.
Gets the format pattern for positive values.
The positive pattern is composed of a prefix, and postfix. This function returns array(prefix, postfix).
Gets the string that denotes that the associated number is positive.
Get the prefix and postfix of a pattern.
Returns the scientific format info associated with the specified culture.
Parse the given pattern and return a list of known properties.
Set the string to use as the currency symbol.
Set the number of decimal places.
Set the string to use as the decimal separator.
Set the string to use as the group separator.
Set the number of digits in each group to the left of the decimal.
There can be two grouping sizes, the value should be an array(group1, group2), if there is only 1 grouping size, group2 should be false.
Set the string that represents the IEEE NaN (not a number) value.
Set the string that represents negative infinity.
Set the format pattern for negative values.
The negative pattern is composed of a prefix, and postfix in the form array(prefix, postfix).
Set the string that denotes that the associated number is negative.
Set the pattern for a specific number pattern. The validate patterns
NumberFormatInfo::DECIMAL, NumberFormatInfo::CURRENCY, NumberFormatInfo::PERCENTAGE, or NumberFormatInfo::SCIENTIFIC
Set the string to use as the percent symbol.
Set the string to use as the per mille symbol.
Set the string that represents positive infinity.
Set the format pattern for positive values.
The positive pattern is composed of a prefix, and postfix in the form array(prefix, postfix).
Set the string that denotes that the associated number is positive.
Allow functions that begins with 'set' to be called directly as an attribute/property to retrieve the value.
Allow functions that begins with 'set' to be called directly as an attribute/property to set the value.
Documentation generated on Sun, 04 Jun 2006 18:58:31 -0400 by phpDocumentor 1.3.0RC4