mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Use Number.IsNaN instead of isNaN
This commit is contained in:
parent
3c9ae18f8c
commit
01830ae23d
@ -19,7 +19,7 @@ class stringFloat{
|
||||
}
|
||||
function checkFloat(string) {
|
||||
try {
|
||||
return !isNaN(parseFloat(string))
|
||||
return !Number.isNaN(parseFloat(string))
|
||||
} catch (error) {
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user