add check_float function

This commit is contained in:
luis daniel lucio quiroz 2014-07-19 02:41:52 +00:00
parent 393a01fcdf
commit 277da121d6
1 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,13 @@
}
}
if (!function_exists('check_float')) {
function check_float($string) {
$string = str_replace(",",".",$string);
return trim($string);
}
}
if (!function_exists('check_str')) {
function check_str($string) {
global $db_type;