I have built my own multi-platform BigInteger for fun (
common,
jvm,
js,
native) but it's definitely not production-quality and BigDecimal is another pile of work on top of that which I haven't been interested in, but it's certainly doable if you're not super concerned about performance