math_parser 1.2.0
math_parser: ^1.2.0 copied to clipboard
Process math expressions, convert them to machine-readable form, and calculate them.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add math_parser
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
math_parser: ^1.2.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:math_parser/math_parser.dart';