From 9caa7240c0dace8d8145fb9c9f1d94a5e64ded2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Tam=C3=A1s=20Szab=C3=B3?= <72586295+DCrepper@users.noreply.github.com> Date: Thu, 8 May 2025 10:38:08 +0200 Subject: [PATCH] Update undocumented precision in documentation 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) --- helpers.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helpers.md b/helpers.md index e8f8972daa8..d11d0c8db1f 100644 --- a/helpers.md +++ b/helpers.md @@ -1552,6 +1552,10 @@ $currency = Number::currency(1000, in: 'EUR'); $currency = Number::currency(1000, in: 'EUR', locale: 'de'); // 1.000,00 € + +$currency = Number::currency(1000, in: 'EUR', locale: 'de', precision: 0); + +// 1.000 € ```