Updated on 2026-08-14
This commit is contained in:
parent
4e21f84b90
commit
b168f321b8
7 changed files with 23 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue