mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
add check_float function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user