kmgStrconv

package
v0.0.0-...-05317bf Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtoIDefault0

func AtoIDefault0(s string) int

func FormatFloat

func FormatFloat(f float64) string

func FormatFloatPrec0

func FormatFloatPrec0(f float64) string

func FormatFloatPrec2

func FormatFloatPrec2(f float64) string

以两位精度把浮点转成字符串

func FormatFloatPrec4

func FormatFloatPrec4(f float64) string

func FormatInt

func FormatInt(i int) string

func InterfaceToString

func InterfaceToString(m interface{}) string

func MustParseBool

func MustParseBool(f string) bool

func MustParseFloat64

func MustParseFloat64(f string) float64

func MustParseInt

func MustParseInt(f string) int

func ParseFloat64

func ParseFloat64(f string) (float64, error)

func ParseFloat64Default0

func ParseFloat64Default0(s 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