Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFixedPointDecimal ¶
AppendFixedPointDecimal appends formatted fixed point decimal to destination buffer. Returns appended slice. This is efficient for avoiding memory copy. strconv.AppendInt is very efficient. Efficient converting int64 to ASCII is not as trivial.
func FixedPointDecimalToString ¶
FixedPointDecimalToString formats fixed-point decimal to string
Types ¶
type FpDecimal ¶
type FpDecimal struct {
// contains filtered or unexported fields
}
func FromFloat64 ¶
func FromInteger ¶
func FromString ¶
func NewFpDecimal ¶
func (*FpDecimal) GetPrecision ¶
func (*FpDecimal) MarshalJSON ¶
func (*FpDecimal) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.