Updated on 2026-08-14
This commit is contained in:
parent
e79d1c1290
commit
5d8461a4f2
8 changed files with 19 additions and 47 deletions
|
|
@ -20,8 +20,4 @@ fun BigDecimal.toFormattedString(
|
|||
df.isGroupingUsed = true
|
||||
df.roundingMode = roundingMode
|
||||
return df.format(this)
|
||||
}
|
||||
|
||||
fun BigDecimal.stripZeroPlainString(): String = this.stripTrailingZeros().toPlainString()
|
||||
|
||||
fun BigDecimal.isPositive(): Boolean = this.signum() == 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue