pimath 0.0.82 → 0.0.83

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.
@@ -116,7 +116,7 @@ class Numeric {
116
116
  decimal = decimal.split('.')[1];
117
117
  return decimal.substring(0, decimal.length - 2);
118
118
  }
119
- const epsilon = 0.00000000000001, number_of_digits = 6;
119
+ const epsilon = 0.00000000000005, number_of_digits = 6;
120
120
  const decimal = extractDecimalPart(value);
121
121
  if (decimal === '') {
122
122
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pimath",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "description": "A math library for teacher :)",
5
5
  "scripts": {
6
6
  "test": "mocha -r ts-node/register 'tests/**/*.test.ts'",
@@ -126,7 +126,7 @@ export class Numeric{
126
126
  }
127
127
 
128
128
 
129
- const epsilon = 0.00000000000001,
129
+ const epsilon = 0.00000000000005,
130
130
  number_of_digits = 6
131
131
 
132
132
  const decimal = extractDecimalPart(value)