Documentation ¶
Index ¶
- type Amount
- func (a *Amount) Add(x, y Amount)
- func (a *Amount) Float() *big.Float
- func (a *Amount) Float64() float64
- func (a *Amount) Parse(value string) error
- func (a *Amount) Precision() int
- func (a *Amount) Scaled(targetPrecision int) Amount
- func (a *Amount) String() string
- func (a *Amount) Uint64() uint64
- func (a *Amount) Valid() bool
- func (a *Amount) Value() *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amount ¶
type Amount struct {
// contains filtered or unexported fields
}
func FromDecimalString ¶
Click to show internal directories.
Click to hide internal directories.