#Decimal separator

4 messages · Page 1 of 1 (latest)

tulip ocean
#

When one uses '#set text(lang: "fr")' it tells typst how to present the quotation marks ...
Is there a way to also have the decimal separator be a comma (like in France) instead of a point (at least in the output) ?

tulip ocean
#

?render `#let fr(v) = str(v).replace(".", ",")

$#fr(3.5 + 18.7)$`

tulip ocean
#

If it helps anyone else ...