Cldr.Number.System.to_system-exclamation-mark

You're seeing just the function to_system-exclamation-mark, go back to Cldr.Number.System module for more information.
Link to this function

to_system!(number, system_name, backend)

View Source

Specs

Converts a number into the representation of a non-latin number system. Returns a converted string or raises on error.

Arguments

Returns

  • string_of_digits or

  • raises an exception

See Cldr.Number.System.to_system/3 for further information.

Examples

iex> Cldr.Number.System.to_system! 123, :hans, TestBackend.Cldr
"一百二十三"

iex> Cldr.Number.System.to_system! 123, :hant, TestBackend.Cldr
"一百二十三"

iex> Cldr.Number.System.to_system! 123, :hansfin, TestBackend.Cldr
"壹佰贰拾叁"