mate 0.0.4 copy "mate: ^0.0.4" to clipboard
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.3 - (27/10/2021) #

  • Resolved: #8 Native Support

Now, mate is independet from flutter

0.0.2 - (26/10/2021) #

  • Resolved: #4 and #5

Now, parser can understand rational numbers and calculate it.

Example:

final String exp = "25,58 * 96 + 44,32";
final double? result = ExpressionParser.calculate(exp); // --> 2500

0.0.1 - (25/10/2021) #

Package Logo

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
3
likes
150
pub points
53%
popularity

Publisher

verified publishertheiskaa.com

A simple and lightweight math library, that can parse and calculate string expressions.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on mate