Fix precison of fixed-point formatting

Fixes #908
This commit is contained in:
Rangi
2021-10-27 20:24:54 -04:00
committed by Eldred Habert
parent 646fc62b89
commit b002d95459
4 changed files with 13 additions and 17 deletions

View File

@@ -9,3 +9,6 @@ pr = 16.12
fl = 6.283185
println "`6.283185`: {.6f:fl} -> ${08x:fl}"
fr = MUL(20.0, 0.32)
println "32% of 20 = {f:fr} (~{.2f:fr}) (~~{.0f:fr})"