Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unify package] Set decimal separator manually #6

Open
TheChilliPL opened this issue Oct 23, 2023 · 0 comments
Open

[unify package] Set decimal separator manually #6

TheChilliPL opened this issue Oct 23, 2023 · 0 comments

Comments

@TheChilliPL
Copy link

It should be possible to set the default decimal separator. I tried doing

#set _format-float(decsep: ",")

$ num("2.0") $

as I prefer to leave the numbers in code with dots (yet want it to show up as 2,0), but it throws a syntax error. Any way to set that in another way?

(originally typst/packages#188)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant