QueryDecimal

annotation class QueryDecimal(val scale: Int)

Declares a numeric field a fixed-point decimal with scale fraction digits, so query consumers format and total it at that precision: @field:QueryDecimal(scale = 2). Never inferred: a BigDecimal does not tell its precision. A field has one semantic type, so this cannot combine with QueryTemporal, QueryMoney, QueryDuration or QueryReference.

Properties

Link copied to clipboard
val scale: Int