You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -364,10 +364,10 @@ Standard arithmetic operations that are present:
364
364
Operations are executed with existing significands and then rounded down afterwards. Decimal mode parameter controls the precision and rounding mode
365
365
366
366
### DecimalMode
367
-
This is a counterpart to the Java BigDecimal MathContext.
367
+
This is a counterpart to the Java BigDecimal MathContext and scale at the same time. Decimal mode API is under revision and will be improved during 0.3.0-0.4.0 library lifecycle
368
368
369
369
```kotlin
370
-
data classDecimalMode(valdecimalPrecision:Long = 0, valroundingMode:RoundingMode = RoundingMode.NONE)
370
+
data classDecimalMode(valdecimalPrecision:Long = 0, valroundingMode:RoundingMode = RoundingMode.NONE, valscale:Long = -1)
371
371
```
372
372
373
373
`decimalPrecision` defines how many digits should significand have
0 commit comments