Skip to content

Commit 149138b

Browse files
committed
Correct money_format example to include positive sign padding (as per other examples and as properly returned by Travis)
1 parent 7e21b27 commit 149138b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/strings/money_format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function money_format(format, number) {
77
// % note 1: This depends on setlocale having the appropriate
88
// % note 1: locale (these examples use 'en_US')
99
// * example 1: money_format('%i', 1234.56);
10-
// * returns 1: 'USD 1,234.56'
10+
// * returns 1: ' USD 1,234.56'
1111
// * example 2: money_format('%14#8.2n', 1234.5678);
1212
// * returns 2: ' $ 1,234.57'
1313
// * example 3: money_format('%14#8.2n', -1234.5678);

0 commit comments

Comments
 (0)