Cldr.Number.to_number_system-exclamation-mark
You're seeing just the function
to_number_system-exclamation-mark
, go back to Cldr.Number module for more information.
Specs
to_number_system!(number(), atom(), Cldr.backend()) :: String.t() | no_return()
Converts a number from the latin digits 0..9
into
another number system. Returns the converted number
or raises an exception on error.
number
is an integer, float. Decimal is supported only for:numeric
number systems, not:algorithmic
. SeeCldr.Number.System.to_system/3
for further information.system
is any number system returned byCldr.Number.System.known_number_systems/0
Example
iex> Cldr.Number.to_number_system! 123, :hant, TestBackend.Cldr
"一百二十三"