Add missing variants for short, ushort to JSONNumber() constructor list
parent
31c17d2986
commit
1c48245b90
|
@ -20,6 +20,10 @@ namespace ln.json
|
||||||
return (double)decValue;
|
return (double)decValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public JSONNumber(short i)
|
||||||
|
: this((long)i) { }
|
||||||
|
public JSONNumber(ushort i)
|
||||||
|
: this((long)i) { }
|
||||||
public JSONNumber(int i)
|
public JSONNumber(int i)
|
||||||
: this((long)i) { }
|
: this((long)i) { }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue