We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 579f7bb commit a0239aaCopy full SHA for a0239aa
data_rows/WarehouseMeteringHistory.js
@@ -12,11 +12,11 @@ export default class WarehouseMeteringHistory extends DataRow {
12
super();
13
this._setStartAndEnd(date);
14
this.WAREHOUSE_NAME = randomFromArray(["BIG_WH", "SMALL_WH"]);
15
- this.CREDITS_USED = Math.random() * 100;
+ let credits_used = Math.random();
16
if (this.WAREHOUSE_NAME == "SMALL_WH") {
17
- this.CREDITS_USED *= 0.3;
+ credits_used *= 0.3;
18
}
19
- this.CREDITS_USED.toFixed(2);
+ this.CREDITS_USED = credits_used.toFixed(2);
20
21
22
_setStartAndEnd(date) {
0 commit comments