summaryrefslogtreecommitdiff
path: root/appl/lib
diff options
context:
space:
mode:
Diffstat (limited to 'appl/lib')
-rw-r--r--appl/lib/json.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/lib/json.b b/appl/lib/json.b
index 09947a7d..50e93b27 100644
--- a/appl/lib/json.b
+++ b/appl/lib/json.b
@@ -576,7 +576,7 @@ JValue.text(v: self ref JValue): string
Int =>
return string r.value;
Real =>
- return string r.value;
+ return sys->sprint("%f", r.value);
String =>
return quote(r.s); # quoted, or not?
Array =>