quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
156 stars 23 forks source link

String.format(str, formatStr) function #3409

Closed OAGr closed 2 weeks ago

OAGr commented 1 month ago

Description of suggestion or shortcoming:

Right now we have a @format() tag, but there's no other way to format numbers/dates. This comes up when you want to use a number/date in a string, like markdown text.

This is an issue for the SquiggleAI style guide.

OAGr commented 2 weeks ago

(Done recently)