Skip to content

Commit b13ae61

Browse files
committed
ack pr comment
1 parent c404c01 commit b13ae61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

apps/sim/lib/billing/utils/decimal.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ export function toNumber(value: Decimal): number {
2525
return value.toNumber()
2626
}
2727

28-
/**
29-
* Sum an array of values with decimal precision.
30-
*/
31-
export function sumDecimals(values: Array<string | number | null | undefined>): Decimal {
32-
return values.reduce((acc: Decimal, val) => acc.plus(toDecimal(val)), new Decimal(0))
33-
}
34-
3528
/**
3629
* Format a Decimal to a fixed string for database storage.
3730
* Uses 6 decimal places which matches current DB precision.

0 commit comments

Comments
 (0)