Objects like simple values in expressions #3065
Unanswered
Big-Gremlin
asked this question in
Q&A
Replies: 2 comments
-
It is possible to add support for a new data type and do calculations with it in the expression parser. You can find a small demo here: https://github.com/josdejong/mathjs/blob/develop/examples/advanced/custom_datatype.js is that what you mean? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a Question, rather than an issue. Moving. |
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
-
Is it possible to use objects like simple values?
Example:
Can a special function be used, such as toString () or something similar?
Beta Was this translation helpful? Give feedback.
All reactions