Documentation ¶
Index ¶
- type Decimal
- func (d *Decimal) Add(x0, y0 *dc.Big) *dc.Big
- func (d *Decimal) BigFloat(v *big.Float) *dc.Big
- func (d *Decimal) Div(x0, y0 *dc.Big) *dc.Big
- func (d *Decimal) Float64(v float64) *dc.Big
- func (d *Decimal) Mul(x0, y0 *dc.Big) *dc.Big
- func (d *Decimal) String(v string) *dc.Big
- func (d *Decimal) Sub(x0, y0 *dc.Big) *dc.Big
- func (d *Decimal) Uint64(v uint64) *dc.Big
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decimal ¶
type Decimal struct {
// contains filtered or unexported fields
}
Decimal is Decimal
func New ¶
New is to create Decimal object if 12345.12345 is expected, New(10, 5, 0) //as precision 9,16,19,34
Click to show internal directories.
Click to hide internal directories.