mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-22 23:25:23 +00:00
Set default number format in config file
This commit is contained in:
@@ -44,4 +44,24 @@ return [
|
||||
|
||||
'destroy_on_logout' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default number format
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This defaults will be used for the formated numbers if you don't
|
||||
| set them in the method call.
|
||||
|
|
||||
*/
|
||||
|
||||
'format' => [
|
||||
|
||||
'decimals' => 2,
|
||||
|
||||
'decimal_point' => '.',
|
||||
|
||||
'thousand_seperator' => ','
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user