Skip to content

Commit

Permalink
modified src/functions/get/getNetworth/getNetworth
Browse files Browse the repository at this point in the history
  • Loading branch information
AxleCat284 committed May 7, 2024
1 parent 5ffbeaf commit 39a31aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions/get/getNetworth/getNetworth.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async function getCookiePrice() {
}
function handleSplits(value) {
if (value === 0 || value === NaN || value === undefined || value === Infinity /* (yeah infinity happened once we dont talk about it) */) {
console.log(value + " :: value was not a number or 0")
return value;
} else {
return Math.round(value.toString());
Expand Down

0 comments on commit 39a31aa

Please sign in to comment.