RoundingOptions

data class RoundingOptions(    val precision: Int = 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 = ROUNDING_PRECISION,     roundingMode: RoundingMode = RoundingMode.HALF_EVEN,     scale: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val precision: Int
Link copied to clipboard
val roundingMode: RoundingMode
Link copied to clipboard
val scale: Int? = null