I’m starting work on a new multiplatform Kotlin project and quickly ran into a snag in trying to use BigDecimal in a platform agnostic way. It’s looking like there will be a lot of work in translating java.math.BigDecimal into a multiplatform expect class, and then providing the JS (and maybe someday down the road, native) implementation.

Was thinking I might just create my own library for it, but does anyone know if this has already been done?