UNPKG
@evojs/math
Version:
latest (0.5.0)
0.5.0
0.4.0
0.3.0
0.1.0
0.0.0
Nodejs math extension
github.com/evotool/js-math
evotool/js-math
@evojs/math
/
addp.function.js
9 lines
(8 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
addp
=
void
0
;
function
addp
(
value, percent
) {
var
percentCoef = percent /
100
;
return
value * (
1
+ percentCoef); }
exports
.
addp
= addp;