Comment

Comment by sorokod

Are you saying that personal sense of esthetics trumps correctness?

Anyway, BigDecimal has an add() method (overloaded for rounding behaviour)

bdResult = bd1.add( bd2 )

parent sorokod 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton