PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::setSymbol
request it (290)
GoLang replacement for PHP's NumberFormatter::setSymbol
[edit | history]
PHP NumberFormatter::setSymbolPHP original manual for NumberFormatter::setSymbol [ show | php.net ]NumberFormatter::setSymbolnumfmt_set_symbol(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::setSymbol -- numfmt_set_symbol — Set a symbol value DescriptionObject oriented style
public
bool
NumberFormatter::setSymbol
( int
$attr
, string $value
)Procedural style Set a symbol associated with the formatter. The formatter uses symbols to represent the special locale-dependent characters in a number, for example the percent sign. This API is not supported for rule-based formatters. Parameters
Return Values
Returns ExamplesExample #1 numfmt_set_symbol() example
<?php Example #2 OO example
<?php The above example will output: Sep: . 1.234.567,891 Sep: * 1*234*567,891 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|