floatformat

package
v0.0.0-...-1e877d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64Rand

func Float64Rand(v float64, dig int) float64

四舍五入

func Float64ToString

func Float64ToString(f float64) string

func FloatToFDig

func FloatToFDig(floVal float64, dig int) string

浮点数串化(左边是整数位置,右边是小数位,dig参数控制)

func StringToFloat64

func StringToFloat64(val string) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL