add Value::from(float)
This commit is contained in:
parent
17805e5829
commit
01759517aa
@ -76,6 +76,7 @@ public:
|
||||
static Value from(unsigned short value) { return Value::_take(json_integer(value)); }
|
||||
static Value from(signed long value) { return Value::_take(json_integer(value)); }
|
||||
static Value from(unsigned long value) { return Value::_take(json_integer(value)); }
|
||||
static Value from(float value) { return Value::_take(json_real(value)); }
|
||||
static Value from(double value) { return Value::_take(json_real(value)); }
|
||||
|
||||
// create a new empty object
|
||||
|
Loading…
Reference in New Issue
Block a user