/** * Format a numeric value according to the language settings for a form value. * * @return string string representation of a numeric value */ public static function renderFormNumber($fltValue, $intMaxDecimal = 2, $intMinDecimal = 2) { return self::renderNumber(Sanitize::toDecimal($fltValue), $intMaxDecimal, $intMinDecimal, false); }