lua: scoreboard iter — trim whitespace in lua-to-number (math.lua past arith-type)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled

This commit is contained in:
2026-04-24 20:11:31 +00:00
parent 0b0d704f1e
commit d361d83402
4 changed files with 35 additions and 39 deletions

View File

@@ -7,7 +7,7 @@
(cond
((= (type-of v) "number") v)
((= (type-of v) "string")
(let ((n (parse-number v))) (if (= n nil) nil n)))
(let ((n (parse-number (trim v)))) (if (= n nil) nil n)))
(else nil))))
(define