From 7735412d66c482a21f8a4e8ce1ba6dffbd3b0e2f Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 19 Mar 2018 02:34:07 +0900 Subject: [PATCH] Update security.php --- system/security.php | 6 ++++++ 1 file changed, 6 insertions(+) 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();