File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ defmodule Money do
664
664
* `money` is any valid `Money.t` type returned
665
665
by `Money.new/2`
666
666
667
- * `options` is a keyword list of options
667
+ * `options` is a keyword list of options or a `%Cldr.Number.Format.Options{}` struct
668
668
669
669
## Returns
670
670
@@ -742,7 +742,7 @@ defmodule Money do
742
742
* `money` is any valid `Money.t` type returned
743
743
by `Money.new/2`
744
744
745
- * `options` is a keyword list of options
745
+ * `options` is a keyword list of options or a `%Cldr.Number.Format.Options{}` struct
746
746
747
747
## Options
748
748
@@ -766,7 +766,8 @@ defmodule Money do
766
766
"1,234 US dollars"
767
767
768
768
"""
769
- @ spec to_string! ( Money . t ( ) , Keyword . t ( ) ) :: String . t ( ) | no_return ( )
769
+ @ spec to_string! ( Money . t ( ) , Keyword . t ( ) | Cldr.Number.Format.Options . t ( ) ) ::
770
+ String . t ( ) | no_return ( )
770
771
771
772
def to_string! ( % Money { } = money , options \\ [ ] ) do
772
773
case to_string ( money , options ) do
You can’t perform that action at this time.
0 commit comments