RoundingOptions

data class RoundingOptions(val precision: Int = DEFAULT_ROUNDING_PRECISION, val roundingMode: RoundingMode = RoundingMode.HALF_EVEN, val scale: Int? = null)

An options of BigDecimal's used to configure rounding.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun RoundingOptions(precision: Int = DEFAULT_ROUNDING_PRECISION, roundingMode: RoundingMode = RoundingMode.HALF_EVEN, scale: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scale: Int? = null