calculate 0.0.5 calculate: ^0.0.5 copied to clipboard
This project enable to make computations on decimal numbers without loosing precision like double operations.
Dart Calculate
处理dart double计算精度丢失问题.
For instance :
import 'package:calculate';
print(compute('0.1 0.1 *'));
Usage
- 编辑
pubspec.yaml
文件
dependencies:
calculate: "0.0.4"
- 获取包
pub get
- 引入你的项目
import 'package:calculate/calculate.dart';