Skip to main content

Quantity

Description

i field

i is the quantity in int64 scaled form, if d.Dec == nil

Data Type: Struct
Optional: False


d field

d is the quantity in inf.Dec form if d.Dec != nil

Data Type: Struct
Optional: False


s field

s is the generated value of this quantity to avoid recalculation

Kind: string
Data Type: string
Optional: False


Format field

Change Format at will. See the comment for Canonicalize for more details.

Kind: Format
Data Type: Alias
Optional: False