Skip to content

Latest commit

 

History

History
73 lines (41 loc) · 1.3 KB

CHANGELOG.md

File metadata and controls

73 lines (41 loc) · 1.3 KB

3.0.0

2021-03-21

  • Support null safety.

2.3.0

2020-06-02

  • Make decimal point configurable.

2.2.1

2020-03-12

  • Fix README.

2.2.0

2020-03-12

  • Make seporator and units configurable.

2.1.3

2020-01-07

  • Update license to 2020.
  • Omit type annotations for local variables in line 73, 79.

2.1.2

2019-12-07

  • Change back param precision name to 'decimal', to avoid confusion with the common 'toPrecision' meaning.
  • Add inner precision limit to avoid float error.

2.1.0

2019-12-05

  • Add feature: roundingType. Now you can set the way to round the decimal in 'round', 'floor' or 'ceil', witch default to 'round'.
  • When the length is too small, number-display will return the origin value as a string, instead of throwing an error.
  • Change param decimal name to 'precision', and default to equal to param length, witch means no additional limit.
  • Change param comma name to 'separator'.

2.0.1

2019-07-31

  • Enlarge SDK requirement to ">=2.1.0 <3.0.0".

2.0.0

2019-07-30

  • Simplify APIs, details in README.md.
  • Optimize performance.
  • Add unit test.
  • Remove decimal trailing zeros.

1.0.1

2019-02-07

  • Add some documents.

1.0.0

2019-02-07

  • Init this package.