6.1.0 • Published 2 years ago

@wezom/toolkit-math v6.1.0

Weekly downloads
22
License
BSD-3-Clause
Repository
github
Last release
2 years ago

@wezom/toolkit-math

Useful math tools

StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

Table of Content:

  1. Tools
    1. mathRound()
  2. Contributing
  3. License

Tools

mathRound()

comment: <> (AUTODOC-TOOL-START::round#default)

Correction of rounding of decimal fractions.

Parameters:

NameData typeArgumentDefault valueDescription
valuenumbersome value
expnumberoptional

Returns: number

comment: <> (AUTODOC-TOOL-END)


mathSum()

comment: <> (AUTODOC-TOOL-START::sum#default)

Calculates the sum of all arguments

Parameters:

NameData typeArgumentDefault valueDescription
numbers...number[]

Returns: number

Examples:

mathSum(1, 3, 5); // => 9
mathSum(1.01, 1.02); // => 2.03

comment: <> (AUTODOC-TOOL-END)


▲ Go Top | ▲ Table of Content


Contributing

Please fill free to create issues or send PR

Licence

BSD-3-Clause License


6.1.0

2 years ago

6.0.1

2 years ago

5.3.0

3 years ago

5.2.0

3 years ago

4.0.0

3 years ago

5.0.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.2.0-beta.0

3 years ago

1.1.0-beta.0

3 years ago