toman_common

Creator: coderz1093

Last updated:

0 purchases

toman_common Image
toman_common Images

Languages

Categories

Add to Cart

Description:

toman common

flutter_toman_common #
flutter_toman_common
flutter 项目 基础组件封装 #


precisionsUtil 精度计算工具
处理不同情况下的精度计算, 1.四舍五入 2.去尾 3.逢N进1
enum Type {
rounding, //四舍五入
tailRemoval, //去尾
enter, //逢N进1
}
使用:
//小数进制 type 进制类型 digit 保留小数位数 value逢N进1
PrecisionsUtil.getPrecisionsDouble(number: number,type: Type.enter,digit: digit,value:value);
}


追加中

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.