package
module
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Mar 16, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HGCommon project HGCommon.go
HGCommon document
一般的浮点型转字符串都会有出现.0的情况,比如 18-》18.000000。不美观,鸡肋
本函数可以根据精度将无用的.0去掉。本函数不支持有效位数的设置
precision 有效精度
Source Files
¶
Click to show internal directories.
Click to hide internal directories.