toman_common 0.0.3 copy "toman_common: ^0.0.3" to clipboard
toman_common: ^0.0.3 copied to clipboard

This is a common component library, which encapsulates some commonly used components and tool classes.

flutter_toman_common #

flutter_toman_common

flutter 项目 基础组件封装 #

  1. 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); }

  2. 追加中

0
likes
115
pub points
0%
popularity

Publisher

unverified uploader

This is a common component library, which encapsulates some commonly used components and tool classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

decimal, flutter

More

Packages that depend on toman_common