pschachte / wybe

A programming language supporting most of both declarative and imperative programming
MIT License
47 stars 6 forks source link

Floating point formatting error #452

Closed pschachte closed 7 months ago

pschachte commented 7 months ago

!println "the answer is $(66.6/1.8)" prints: the answer is 36.: when it should print: the answer is 37.0 (note that : is the next character after 9). This is a bug in the definition of float:fmt.

pschachte commented 7 months ago

Fixed by #453