10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-08-26 06:01:49 +02:00

Missing ! operator

This commit is contained in:
Mickaël Véril 2020-02-01 17:19:40 +01:00
parent 89007ebdd6
commit 554d3ee84c

View File

@ -18,7 +18,7 @@ class stringFloat{
}
function checkFloat(string) {
try {
return isNaN(parseFloat(string))
return !isNaN(parseFloat(string))
} catch (error) {
return false
}