Function comma_format
- Formats a number.
- uses the format of number_format to decide how to format the number. for example, it might display "1 234,50".
- caches the formatting data from the setting for optimization.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
float |
$number |
A number |
boolean|integer |
$override_decimal_count = false |
If set, will use the specified number of decimal places. Otherwise it's automatically determined |
string
|
A formatted number |