summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cook/parse.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cook/parse.scm b/cook/parse.scm
index 2cc604b..ae645f6 100644
--- a/cook/parse.scm
+++ b/cook/parse.scm
@@ -100,7 +100,7 @@ https://github.com/cooklang/spec/blob/main/EBNF.md
(unit ((=> u (+ ,unit-chars))
(list->string u)))
(quantity ((=> q (+ ,quantity-chars))
- (list->string q)))
+ (string->number (list->string q))))
(meta-key ((=> k (+ ,metadata-chars))
(list->string k)))