Home | History | Annotate | Download | only in json

Lines Matching defs:real

83         std::string real = DoubleToString(value);
86 // real rather than an int.
87 if (real.find('.') == std::string::npos &&
88 real.find('e') == std::string::npos &&
89 real.find('E') == std::string::npos) {
90 real.append(".0");
94 if (real[0] == '.') {
95 real.insert(0, "0");
96 } else if (real.length() > 1 && real[0] == '-' && real[1] == '.') {
98 real.insert(1, "0");
100 json_string_->append(real);