Documentation ¶
Overview ¶
Package gtbox_number en: Number handle, zh-cn: 珠子类型处理
Index ¶
- func GTBigFLoat2Float64(bigFloat *big.Float) float64
- func GTFloat64Div(a, b float64) float64
- func GTFloat64GetLengthAfter(f float64) int
- func GTFloat64GetLengthBefore(f float64) int
- func GTFloat64GetLengthSegmentLength(f float64) (total, before, after int)
- func GTFloat64Mul(a, b float64) float64
- func GTFloat64Sub(a, b float64) float64
- func GTFloat64Sum(a, b float64) float64
- func GTToolsNumberFloat64ToInt64(num float64, retain int) int64
- func GetFloat64GetLengthTotal(f float64) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GTBigFLoat2Float64 ¶ added in v0.0.48
GTBigFLoat2Float64 Float64超高精度运算--除法 bigFloat 传入的big.float 指针 Return [float64] 返回float64
func GTFloat64Div ¶ added in v0.0.38
GTFloat64Div Float64超高精度运算--除法
func GTFloat64GetLengthAfter ¶ added in v0.0.31
GTFloat64GetLengthAfter 获取`float64`小数点后位数
func GTFloat64GetLengthBefore ¶ added in v0.0.31
GTFloat64GetLengthBefore 获取`float64`小数点前位数
func GTFloat64GetLengthSegmentLength ¶ added in v0.0.31
GTFloat64GetLengthSegmentLength 获取`float64`总位数、小数点前位数和小数点后位数
func GTFloat64Mul ¶ added in v0.0.38
GTFloat64Mul Float64超高精度运算--乘法
func GTFloat64Sub ¶ added in v0.0.38
GTFloat64Sub Float64超高精度运算--减法
func GTFloat64Sum ¶ added in v0.0.38
GTFloat64Sum Float64超高精度运算--加法
func GTToolsNumberFloat64ToInt64 ¶
GTToolsNumberFloat64ToInt64 en: float64 covert to int64, zh-cn: float64 转 int64
func GetFloat64GetLengthTotal ¶ added in v0.0.31
GetFloat64GetLengthTotal 获取`float64`总位数
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.