mate 0.0.4 mate: ^0.0.4 copied to clipboard
A simple and lightweight math library, that can parse and calculate string expressions.
0.0.4 - (29/10/2021) #
- Resolved: #10 Percentage Calculation Support
Now, mate can calculate [X]'s [Y] percent (from string)
Example:
final String exp = "10 % 2";
final double? result = expressionParser.calculate(exp); // --> 0,2
0.0.2 - (26/10/2021) #
0.0.1 - (25/10/2021) #
The very first version of "Mate", that can calculate expressions written as string format.
Example:
final String exp = "-2 + 5 + 10 * 2";
final double? result = expressionParser.calculate(exp); // --> 23