- // @todo use formatLocaleNumericRoundedByOptionalPrecision - but note that there is an issue where php doesn't handle
- // money strings beyond a certain total length - per https://github.com/civicrm/civicrm-core/pull/18409
- // & https://github.com/civicrm/civicrm-core/pull/18409
- $defaults[$field] = CRM_Utils_Money::format(CRM_Utils_Array::value($field, $defaults), NULL, '%a');