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