From b7469178d19ded75c1546ddc7536ab7dbccda6a4 Mon Sep 17 00:00:00 2001 From: Kip Cole Date: Thu, 30 Dec 2021 06:41:17 +1100 Subject: [PATCH] Update docs for Cldr.Number.to_string/3 --- lib/cldr/number.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cldr/number.ex b/lib/cldr/number.ex index f457414..bf3d851 100644 --- a/lib/cldr/number.ex +++ b/lib/cldr/number.ex @@ -173,6 +173,9 @@ defmodule Cldr.Number do specified the number is formatted as `:currency_long` or `:currency_short` and `:fractional_digits` is set to 0 as a default. + * If `:format` is set to `:currency_long_with_symbol` then a format composed + of `:currency_long` with the locale's currency format is used. + * `:format` may also be a format defined by CLDR's Rules Based Number Formats (RBNF). Further information is found in the module `Cldr.Rbnf`. The most commonly used formats in this category are to spell out the