10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Delete value propeery of stringNumber

This commit is contained in:
Mickaël Véril 2020-02-04 09:34:27 +01:00
parent 3c2da95c84
commit 8f61c51138

View File

@ -3,11 +3,8 @@ class stringNumber{
this.string=value
this.printNaN=printNaN
}
get Value(){
return parseFloat(this.string)
}
valueOf() {
return this.Value;
return parseFloat(this.string)
}
toString(){
if (checkNumber(this.string) && this.printNaN) {