Replies: 3 comments
-
|
Good point! Right now Unit has its own Anyone interested in implementing this change? I don't think it's very complicated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Any updates on this? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
No one picked it up yet, help would be welcome |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following the instructions in the documentation on overriding the 'math.expression.parse.isAlpha' function, I have successfully customised supported characters for variables.
Can I do the same for units? The issue I'm running into is syntax errors when defining aliases for certain currencies with non-alpha symbols (i.e '£' for GBP & '€' for EUR).
Here's my code:
I get "SyntaxError: Unexpected "€" in "€" at index 0"
Beta Was this translation helpful? Give feedback.
All reactions