forked from davedelong/DDMathParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Implicit Multiplication
davedelong edited this page Sep 27, 2011
·
4 revisions
The parser recognizes implicit multiplication. For example, we can write 3(4) and understand that the answer should be 12. Implicit multiplication is applied when a number, variable, or closing parenthesis are followed by either a number, variable, function, or opening parenthesis.
A full explanation of how the implicit multiplication is handled is in the source of DDMathStringTokenizer.m.