|
|
| version 1.85, 2001/10/23 14:43:44 | version 1.86, 2001/10/29 13:04:46 |
|---|---|
| Line 83 static void _double(Request& r, const St | Line 83 static void _double(Request& r, const St |
| Value& fmt=params->as_junction(0, "fmt must be code"); | Value& fmt=params->as_junction(0, "fmt must be code"); |
| Temp_lang temp_lang(r, String::UL_PASS_APPENDED); | Temp_lang temp_lang(r, String::UL_PASS_APPENDED); |
| char *buf=format(pool, r.self->as_double(), r.process(fmt).as_string().cstr()); | char *buf=format(pool, r.self->as_double(), |
| r.process(fmt).as_string().cstr(String::UL_UNSPECIFIED)); | |
| String result(pool); | String result(pool); |
| result.APPEND_CLEAN(buf, 0, | result.APPEND_CLEAN(buf, 0, |