Make edoc happy
This commit is contained in:
+4
-4
@@ -50,7 +50,7 @@
|
||||
%% hz_format:amount(500000123000000000000000) ->
|
||||
%% 木500,000.123
|
||||
%% '''
|
||||
%% @equiv amount(us, Pucks).
|
||||
%% @equiv amount(us, Pucks)
|
||||
|
||||
amount(Pucks) ->
|
||||
amount(us, Pucks).
|
||||
@@ -83,7 +83,7 @@ amount(Pucks) ->
|
||||
%% hz_format:amount({$_, 4}, 100500040123000000000000000) ->
|
||||
%% 木1_0050_0040.123
|
||||
%% '''
|
||||
%% @equiv amount(gaju, Style, Pucks).
|
||||
%% @equiv amount(gaju, Style, Pucks)
|
||||
|
||||
amount(Style, Pucks) ->
|
||||
amount(gaju, Style, Pucks).
|
||||
@@ -147,10 +147,9 @@ amount(puck, {Separator, Span}, Pucks) ->
|
||||
Serialized :: string().
|
||||
%% A formatter for decimal notation which permits a precision
|
||||
%% value to be applied to the puck side of the format.
|
||||
%% @equiv approx_amount(us, Precision, Pucks).
|
||||
%% ```
|
||||
%% hz_format:approx_amount(3, 100500040123000004500000001) ->
|
||||
%% 木100,500,040.123...
|
||||
%% 木100,500,040.123
|
||||
%%
|
||||
%% hz_format:approx_amount(13, 100500040123000004500000001) ->
|
||||
%% 木100,500,040.123,000,004,5...
|
||||
@@ -158,6 +157,7 @@ amount(puck, {Separator, Span}, Pucks) ->
|
||||
%% hz_format:approx_amount(all, 100500040123000004500000001) ->
|
||||
%% 木100,500,040.123,000,004,500,000,001
|
||||
%% '''
|
||||
%% @equiv approx_amount(us, Precision, Pucks)
|
||||
|
||||
approx_amount(Precision, Pucks) ->
|
||||
approx_amount(us, Precision, Pucks).
|
||||
|
||||
Reference in New Issue
Block a user