ICanBoogie/CLDR master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR
      • Plurals
      • Units

Classes

  • AbstractCollection
  • AbstractSectionCollection
  • Calendar
  • CalendarCollection
  • ContextTransforms
  • Currency
  • CurrencyCollection
  • CurrencyFormatter
  • DateFormatter
  • DateTimeAccessor
  • DateTimeFormatter
  • FileProvider
  • ListFormatter
  • Locale
  • LocaleCollection
  • LocalizedCurrency
  • LocalizedDateTime
  • LocalizedListFormatter
  • LocalizedLocale
  • LocalizedNumberFormatter
  • LocalizedObject
  • LocalizedObjectWithFormatter
  • LocalizedTerritory
  • Number
  • NumberFormatter
  • NumberPattern
  • NumberPatternParser
  • Numbers
  • Plurals
  • ProviderCollection
  • RedisProvider
  • Repository
  • RunTimeProvider
  • Supplemental
  • Territory
  • TerritoryCollection
  • TimeFormatter
  • Units
  • WebProvider

Interfaces

  • Exception
  • Formatter
  • LocalizeAwareInterface
  • Provider

Traits

  • CodePropertyTrait
  • CollectionTrait
  • LocalePropertyTrait
  • LocalizeTrait
  • ProviderStorageBinding
  • RepositoryPropertyTrait

Exceptions

  • ResourceNotFound
  • TerritoryNotDefined

Class CurrencyFormatter

A currency formatter.

ICanBoogie\CLDR\NumberFormatter implements ICanBoogie\CLDR\Formatter uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\RepositoryPropertyTrait, ICanBoogie\CLDR\LocalizeTrait
Extended by ICanBoogie\CLDR\CurrencyFormatter
Namespace: ICanBoogie\CLDR
Located at CurrencyFormatter.php

Methods summary

public string
# format( mixed $number, string $pattern, array $symbols = [] )

Parameters

$number
The number to be formatted.
$pattern
The pattern used to format the number.
$symbols
Symbols.

Returns

string
The formatted number.

Inheritdoc

Overrides

ICanBoogie\CLDR\NumberFormatter::format

Methods inherited from ICanBoogie\CLDR\NumberFormatter

__construct(), __invoke(), parse_number(), precision_from(), round_to()

Methods used from ICanBoogie\CLDR\RepositoryPropertyTrait

get_repository()

Methods used from ICanBoogie\CLDR\LocalizeTrait

localize()

Magic methods inherited from ICanBoogie\CLDR\NumberFormatter

localize()

Properties summary

Magic properties used from ICanBoogie\CLDR\RepositoryPropertyTrait

$repository

ICanBoogie/CLDR master API documentation generated by ApiGen