isNumber is fixed
This commit is contained in:
parent
e51e96ea56
commit
2cfaf5d401
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ function cmpDate ($p_date,$p_date_oth) {
|
|||
function isNumber($p_int) {
|
||||
if ( strlen (trim($p_int)) == 0 ) return 0;
|
||||
|
||||
if ( (string) $p_int === (string) (int) $p_int )
|
||||
if ( (string) $p_int === (string) (float) $p_int )
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue