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 LocalizedNumberFormatter

Formats numbers using locale conventions.

ICanBoogie\CLDR\LocalizedObject uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\CLDR\LocalePropertyTrait
Extended by ICanBoogie\CLDR\LocalizedNumberFormatter implements ICanBoogie\CLDR\Formatter
Namespace: ICanBoogie\CLDR
Located at LocalizedNumberFormatter.php

Methods summary

public string
# __invoke( number $number, null $pattern = null, array $symbols = [] )

Formats a number.

Formats a number.

Parameters

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

Returns

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

Formats a number.

Formats a number.

Parameters

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

Returns

string

Methods inherited from ICanBoogie\CLDR\LocalizedObject

__construct(), from(), get_target()

Methods used from ICanBoogie\CLDR\LocalePropertyTrait

get_locale()

Properties summary

Properties inherited from ICanBoogie\CLDR\LocalizedObject

$options, $target

Magic properties

public read-only ICanBoogie\CLDR\NumberFormatter $target

Magic properties inherited from ICanBoogie\CLDR\LocalizedObject

$locale

Magic properties used from ICanBoogie\CLDR\LocalePropertyTrait

$locale

ICanBoogie/CLDR master API documentation generated by ApiGen