asv-hlps 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -361,3 +361,6 @@ const validEmail = (email) => {
361
361
  return false;
362
362
  // return email.toLowerCase().match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)
363
363
  };
364
+ const calculPercent = (nbr, percentage) => {
365
+ return nbr * percentage / 100;
366
+ };
@@ -311,3 +311,6 @@ const validEmail = (email) => {
311
311
  return false;
312
312
  // return email.toLowerCase().match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)
313
313
  };
314
+ const calculPercent = (nbr, percentage) => {
315
+ return nbr * percentage / 100;
316
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",