Is there a simple way to convert a high number e.g. 14120000 into 14.12 million format with PHP?
I’ve been looking at number_format but it doesn’t seem to offer this function, also thought about sub_str to separate the digits out, but thought there might be a better way?
Try this from, https://php.net/manual/en/function.number-format.php#89888: