Updated on 2026-08-14

This commit is contained in:
Tangem 2024-07-09 14:39:17 +01:00
parent 4e21f84b90
commit b168f321b8
7 changed files with 23 additions and 15 deletions

View file

@ -5,7 +5,7 @@ import java.math.BigDecimal
import java.math.BigInteger
internal fun BigInteger.toBigDecimal(decimals: Int): BigDecimal {
return BigDecimal(this).movePointLeft(decimals)
return this.toBigDecimal().movePointLeft(decimals)
}
internal fun BigInteger.toInstant(): Instant {