UNPKG
@dinero.js/calculator-number
Version:
alpha (2.0.0-alpha.15)
latest (2.0.0-alpha.1)
2.0.0-alpha.15
2.0.0-alpha.14
2.0.0-alpha.13
2.0.0-alpha.12
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
Number calculator implementation for Dinero.js
dinerojs.com/calculator-number
dinerojs/dinero.js
@dinero.js/calculator-number
/
dist
/
esm
/
api
/
add.js
11 lines
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Returns the sum of two numbers. * *
@param
augend
- The number to add to. *
@param
addend
- The number to add. * *
@returns
The sum of the two numbers. */
export
var
add =
function
add
(
augend, addend
) {
return
augend + addend; };