-
(sfNumberFormatInfo) getCurrencyInstance ()
Browse code
Returns the currency format info associated with the specified culture.
returns sfNumberFormatInfo for the specified culture.
-
(string) getCurrencySymbol ()
Browse code
Gets the string to use as the currency symbol.
returns currency symbol.
-
(int) getDecimalDigits ()
Browse code
Indicates the number of decimal places.
returns number of decimal places.
-
(string) getDecimalSeparator ()
Browse code
Gets the string to use as the decimal separator.
returns decimal separator.
-
(string) getGroupSeparator ()
Browse code
Gets the string that separates groups of digits to the left
of the decimal in currency values.
returns currency group separator.
-
(array) getGroupSizes ()
Browse code
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 grouping size(s).
-
(sfNumberFormatInfo) getInstance (, )
Browse code
Returns the sfNumberFormatInfo associated with the specified culture.
returns sfNumberFormatInfo for the specified culture.
-
(sfNumberFormatInfo) getInvariantInfo ()
Browse code
Gets the default sfNumberFormatInfo that is culture-independent (invariant).
returns default sfNumberFormatInfo.
-
(string) getNaNSymbol ()
Browse code
Gets the string that represents the IEEE NaN (not a number) value.
returns NaN symbol.
-
(string) getNegativeInfinitySymbol ()
Browse code
Gets the string that represents negative infinity.
returns negative infinity.
-
(arary) getNegativePattern ()
Browse code
Gets the format pattern for negative values.
The negative pattern is composed of a prefix, and postfix.
This function returns array(prefix, postfix).
returns negative pattern.
-
(string) getNegativeSign ()
Browse code
Gets the string that denotes that the associated number is negative.
returns negative sign.
-
-
(sfNumberFormatInfo) getPercentageInstance ()
Browse code
Returns the percentage format info associated with the specified culture.
returns sfNumberFormatInfo for the specified culture.
-
(string) getPercentSymbol ()
Browse code
Gets the string to use as the percent symbol.
returns percent symbol.
-
(string) getPerMilleSymbol ()
Browse code
Gets the string to use as the per mille symbol.
returns percent symbol.
-
(string) getPositiveInfinitySymbol ()
Browse code
Gets the string that represents positive infinity.
returns positive infinity.
-
(arary) getPositivePattern ()
Browse code
Gets the format pattern for positive values.
The positive pattern is composed of a prefix, and postfix.
This function returns array(prefix, postfix).
returns positive pattern.
-
(string) getPositiveSign ()
Browse code
Gets the string that denotes that the associated number is positive.
returns positive sign.
-
(array) getPrePostfix ()
Browse code
Gets the prefix and postfix of a pattern.
returns of prefix and postfix, array(prefix,postfix).
-
(sfNumberFormatInfo) getScientificInstance ()
Browse code
Returns the scientific format info associated with the specified culture.
returns sfNumberFormatInfo for the specified culture.
-
(array) parsePattern ()
Browse code
Parses the given pattern and return a list of known properties.
returns list of pattern properties.
-
Sets the string to use as the currency symbol.
-
Sets the number of decimal places.
-
setDecimalSeparator ()
Browse code
Sets the string to use as the decimal separator.
-
Sets the string to use as the group separator.
-
Sets 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.
-
Sets the string that represents the IEEE NaN (not a number) value.
-
setNegativeInfinitySymbol ()
Browse code
Sets the string that represents negative infinity.
-
Sets the format pattern for negative values.
The negative pattern is composed of a prefix, and postfix in the form
array(prefix, postfix).
-
Sets the string that denotes that the associated number is negative.
-
Sets the pattern for a specific number pattern. The validate patterns
sfNumberFormatInfo::DECIMAL, sfNumberFormatInfo::CURRENCY,
sfNumberFormatInfo::PERCENTAGE, or sfNumberFormatInfo::SCIENTIFIC
-
Sets the string to use as the percent symbol.
-
Sets the string to use as the per mille symbol.
-
setPositiveInfinitySymbol ()
Browse code
Sets the string that represents positive infinity.
-
Sets the format pattern for positive values.
The positive pattern is composed of a prefix, and postfix in the form
array(prefix, postfix).
-
Sets the string that denotes that the associated number is positive.
-
Initializes a new writable instance of the sfNumberFormatInfo 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
sfNumberFormatInfo::getInstance() to create an instance.
-
Allows functions that begins with 'set' to be called directly
as an attribute/property to retrieve the value.
-
Allows functions that begins with 'set' to be called directly
as an attribute/property to set the value.