Price format
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Price format
Hello, how can prices format be set with 100,00 on 100?
Re: Price format
The number format is created by a view helper which has a second parameter for the number of decimals:
You have find the implementation here:
https://github.com/aimeos/aimeos-core/b ... Locale.php
Code: Select all
$this->number( 100, 2 )
https://github.com/aimeos/aimeos-core/b ... Locale.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Price format
Thank you very much for your help!aimeos wrote: ↑07 Nov 2020, 07:55 The number format is created by a view helper which has a second parameter for the number of decimals:You have find the implementation here:Code: Select all
$this->number( 100, 2 )
https://github.com/aimeos/aimeos-core/b ... Locale.php