Skip to content

Commit

Permalink
Fix priceTable generation -> force cast to number.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jan 18, 2022
1 parent 71339b0 commit c456496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/twitchauction/myhelpers.mjs
Expand Up @@ -14,7 +14,7 @@ export function buildPriceTable(filepath) {
for (let i = 0; i < t.length; i++) {
while (j < t[i][2]) { // price counts
// console.log(" i=" + i + "; j=" + j + "; price: " + t[i][0] + ", mult: " + t[i][2]);
tab[j] = t[i][0]; // price
tab[j] = Number(t[i][0]); // price
j++;
}
}
Expand Down

0 comments on commit c456496

Please sign in to comment.