diff options
| -rw-r--r-- | src/value.cc | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/src/value.cc b/src/value.cc index 92aaff1..b5c4afe 100644 --- a/src/value.cc +++ b/src/value.cc @@ -324,6 +324,7 @@ void Value::reset_undef()  std::string Value::toString() const  {  	std::stringstream stream; +	stream.precision(16);  	switch (this->type) {  	case STRING: @@ -338,9 +339,13 @@ std::string Value::toString() const  		stream << ']';  		break;  	case RANGE: -		stream << "[ " -					 << this->range_begin << " : " << this->range_step << " : " << this->range_end -					 << " ]"; +		stream	<< "[ " +			<< this->range_begin +			<< " : " +			<< this->range_step +			<< " : " +			<< this->range_end +			<< " ]";  		break;  	case NUMBER:  		stream << this->num; | 
