File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1937,22 +1937,18 @@ defmodule Money do
19371937 @ doc """
19381938 Convert an integer representation of money into a `Money` struct.
19391939
1940- This is the inverse operation of `Money.to_integer_exp/1`. Note
1941- that the ISO definition of currency digits (subunit) is *always*
1942- used. This is, in some cases like the Colombian Peso (COP)
1943- different to the CLDR definition.
1944-
19451940 ## Arguments
19461941
1947- * `integer` is an integer representation of a money item including
1948- any decimal digits. ie. `20000` would interpreted to mean `$200.00`
1942+ * `integer` is an integer representation of a money amount including
1943+ any decimal digits. ie. `20000` would be interpreted to mean `$200.00`
19491944 if the `currency` is `:USD` and no `:fractional_digits` option
19501945 was provided.
19511946
19521947 * `currency` is the currency code for the `integer`. The assumed
1953- decimal precision is derived from the currency code.
1948+ decimal precision is derived from the currency code if no `fractional_digits`
1949+ option is specified.
19541950
1955- * `options` is a keyword list of options.`
1951+ * `options` is a keyword list of options.
19561952
19571953 ## Options
19581954
You can’t perform that action at this time.
0 commit comments