Skip to content

Commit 5f32f12

Browse files
committed
- Docfix
- see Perl#9
1 parent 2967a67 commit 5f32f12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Format.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ sub abs_ceil
695695

696696
##----------------------------------------------------------------------
697697

698-
=item format_number($number, $precision, $trailing_zeroes)
698+
=item format_number($number, $precision, $trailing_zeroes, $mon, $roundoption)
699699
700700
Formats a number by adding C<THOUSANDS_SEP> between each set of 3
701701
digits to the left of the decimal point, substituting C<DECIMAL_POINT>
@@ -705,7 +705,9 @@ specifier; trailing zeroes will only appear in the output if
705705
C<$trailing_zeroes> is provided, or the parameter C<DECIMAL_FILL> is
706706
set, with a value that is true (not zero, undef, or the empty string).
707707
If C<$precision> is omitted, the value of the C<DECIMAL_DIGITS>
708-
parameter (default value of 2) is used.
708+
parameter (default value of 2) is used. If C<$mon> is true (default
709+
value false) the monetary separators are used. C<$precision> and
710+
C<$roundoption> are direct passed to C<round()>.
709711
710712
If the value is too large or great to work with as a regular number,
711713
but instead must be shown in scientific notation, returns that number

0 commit comments

Comments
 (0)