diff --git a/system/security.php b/system/security.php index e8fab1f..34ac619 100644 --- a/system/security.php +++ b/system/security.php @@ -517,5 +517,11 @@ if(!function_exists("get_generated_name")) { } } +if(!function_exists("get_formatted_number")) { + function get_formatted_number($value) { + return number_format(floatval($value)); + } +} + // start session (enable $_SESSION) session_start();