mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Delete value propeery of stringNumber
This commit is contained in:
parent
3c2da95c84
commit
8f61c51138
@ -3,11 +3,8 @@ class stringNumber{
|
|||||||
this.string=value
|
this.string=value
|
||||||
this.printNaN=printNaN
|
this.printNaN=printNaN
|
||||||
}
|
}
|
||||||
get Value(){
|
|
||||||
return parseFloat(this.string)
|
|
||||||
}
|
|
||||||
valueOf() {
|
valueOf() {
|
||||||
return this.Value;
|
return parseFloat(this.string)
|
||||||
}
|
}
|
||||||
toString(){
|
toString(){
|
||||||
if (checkNumber(this.string) && this.printNaN) {
|
if (checkNumber(this.string) && this.printNaN) {
|
||||||
|
Loading…
Reference in New Issue
Block a user