260311_01_ENH: Console.log clear 및 구매율 투입변수 수정
This commit is contained in:
@@ -446,7 +446,6 @@ export const calcCagrRow = (after: ProductRow, before: ProductRow): ProductRow =
|
||||
for (const k of PRODUCT_KEYS) {
|
||||
const vBefore = before? before[k] ?? "0" : "0";
|
||||
const vAfter = after? after[k] ?? "0" : "0";
|
||||
console.log(k, vBefore, vAfter);
|
||||
out[k] = Number(vBefore) > 0 ? calcCagr(Number(vAfter), Number(vBefore), years) : "0";
|
||||
}
|
||||
return out;
|
||||
|
||||
Reference in New Issue
Block a user