Détail du package

@totalpave/math

totalpave165MIT2.3.0

Math library

readme

@totalpave/math

Description

TotalPave Math Library that contains utility methods for unit conversions and rounding to nearest decimal points.

It can be installed over the existing Math global using:

import Math from '@totalpave/math';

Documentation

See Docs

License

This library is provided under the MIT license.

changelog

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

v2.3.0

  • deproll / f16round support 53b6d6b
  • deproll 3f8a16a
  • deproll for eslint update to include no-console rule 0010129

v2.2.1

22 October 2024

  • upgraded eslint, fix missing NAUTICAL_MILE_SQUARED in AREA unit list c98b860
  • deproll 45dcdf0
  • deproll 1888647

v2.2.0

27 February 2024

v2.1.0

1 June 2023

  • target es6 / deproll 0d70c9f
  • test precision flag 6c72e42
  • fix: always round when precision is specified, even if the value did not require conversion cfd76a1

v2.0.1

5 January 2023

v2.0.0

17 November 2022

  • deproll 3020fff
  • breaking: Remove bit code in preparation for adding new units f371673
  • feat: Added Per Unit units (linear & area foot and meter) 700d8a3

v1.0.5

16 September 2022

  • Updated jest to version 29 2e3a2c9
  • rebuild package-lock to ensure that no packages are coming from totalpave's private registry. ec2c6da
  • deproll 55cdba3

v1.0.4

11 April 2022

v1.0.3

4 March 2022

v1.0.2

9 November 2021

  • fix docs 0f55c9c
  • deproll 371171a
  • Abstract conversion code from UnitUtils into UnitConverter. UnitUtils still has a convert method, but it is now deprecated df9346f

v1.0.1

1 September 2020

v1.0.0

6 August 2020

v0.1.0

20 February 2020

  • feat: Standard Deviation a4e9e2b
  • test: unknown unit error test 9592615

v0.0.4

19 February 2020

  • fix: Target es3 to fix ie11 d6e3cfd

v0.0.3

13 January 2020

v0.0.2

22 November 2019

  • Renamed SIUnit to UnitMode. Regenerated docs just in case if they would be effected. #4
  • Added getUnitText #3
  • 0.0.2: docs d3af464
  • 0.0.2 release prep 13a6472
  • changelog a87f9a4

v0.0.1

21 November 2019