wip
This commit is contained in:
1 parent
b9348f3343
commit
8c01ebbbd9
2 files changed
+7
-1
No files matched your search
@@ -201,3 +201,9 @@ function localeAppUrl(): string
|
||||
{
|
||||
return config('app.locale_app.url');
|
||||
}
|
||||
|
||||
function convertToOriginalFormat($apiPrice) {
|
||||
// Convert to float and divide by 100
|
||||
$originalPrice = intval($apiPrice) / 100;
|
||||
return number_format($originalPrice, 2, '.', ''); // Format with 2 decimal places
|
||||
}
|
||||
Reference in new issue
Block a user