Update Guest.php (#1551)

fix currency Price format
This commit is contained in:
ilham B authored and GitHub committed 2023-08-19 11:11:20 -07:00
1 parent f00550f5ce
commit c0427c4e72
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ class Guest extends \Api_Abstract
$p ??= 0;
$p = match ($c['price_format']) {
$p = match (intval($c['price_format'])) {
2 => number_format($p, 2, '.', ','),
3 => number_format($p, 2, ',', '.'),
4 => number_format($p, 0, '', ','),