@fileverse-dev/formulajs 4.4.28 → 4.4.30

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.
package/lib/cjs/index.cjs CHANGED
@@ -6469,6 +6469,10 @@ function FLOOR(number, significance) {
6469
6469
  return anyError$1
6470
6470
  }
6471
6471
 
6472
+ if(number === 0 && significance === 0){
6473
+ return 0
6474
+ }
6475
+
6472
6476
  if (!significance) {
6473
6477
  return div0
6474
6478
  }
@@ -950,7 +950,7 @@ var PRICE_metadata = {
950
950
  detail: "Comma separated timeframe for token address, Skip for coin symbol",
951
951
  example: '"1,24"',
952
952
  require: "o",
953
- type: "any"
953
+ type: "string"
954
954
  }
955
955
  ]
956
956
  };
@@ -985,9 +985,9 @@ var WALLET_metadata = {
985
985
  },
986
986
  {
987
987
  name: "timeframe",
988
- detail: "Optional comma-separated timeframes in hours. Defaults to latest block for \u201Ctxns\u201D and latest balance for \u201Cbalance\u201D",
988
+ detail: "Comma-separated timeframes in hours. Defaults to latest block for \u201Ctxns\u201D and latest balance for \u201Cbalance\u201D",
989
989
  example: '"17520"',
990
- require: "m",
990
+ require: "o",
991
991
  type: "string"
992
992
  }
993
993
  ]
package/lib/esm/index.mjs CHANGED
@@ -6467,6 +6467,10 @@ function FLOOR(number, significance) {
6467
6467
  return anyError$1
6468
6468
  }
6469
6469
 
6470
+ if(number === 0 && significance === 0){
6471
+ return 0
6472
+ }
6473
+
6470
6474
  if (!significance) {
6471
6475
  return div0
6472
6476
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.28",
3
+ "version": "4.4.30",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {