UNPKG

@jeremyckahn/farmhand

Version:
3 lines (2 loc) 126 B
export const moneyTotal = (...args: number[]): number => args.reduce((sum, num) => (sum += Math.round(num * 100)), 0) / 100