Skip to content

Commit 14281cf

Browse files
authored
Update undocumented precision in documentation (#10381)
In the Number helper class currency method precision not documented, but exist in the code, there is a lot of currency that do not use any subb currency Like (HUF)
1 parent 00574e6 commit 14281cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

helpers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,10 @@ $currency = Number::currency(1000, in: 'EUR');
15521552
$currency = Number::currency(1000, in: 'EUR', locale: 'de');
15531553

15541554
// 1.000,00 €
1555+
1556+
$currency = Number::currency(1000, in: 'EUR', locale: 'de', precision: 0);
1557+
1558+
// 1.000 €
15551559
```
15561560

15571561
<a name="method-default-currency"></a>

0 commit comments

Comments
 (0)