dev/core#2505 Fix formatLocaleNumeric
authoreileen <emcnaughton@wikimedia.org>
Wed, 14 Apr 2021 04:19:58 +0000 (16:19 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 14 Apr 2021 05:38:20 +0000 (17:38 +1200)
commit2d020e82b576519c2d4ea34d844c7615d9fb0fe4
tree55e726921111607bd9ebe9942d218257f00d9fa7
parentc7a6cc2cfcd602df4644f05b9fea69fd7cdf679b
dev/core#2505 Fix formatLocaleNumeric

With the back & forth over formatting this function lost it's original intent and became unused.

I think this gives back the original intent - ie provide a formatted number
with no currency symbol that reflects the locale.

I think this would be usable for https://lab.civicrm.org/dev/core/-/issues/2505
since formatting numbers should be more or less the same as formatting currencies
when only the number is being formatted.
CRM/Utils/Money.php