numjson

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFloat

func AppendFloat(dst []byte, f float64, bits int) []byte

AppendFloat float appends the string of a float to a byte slice following rules commonly used by JSON formatters.

func FormatFloat

func FormatFloat(f float64, bits int) string

FormatFloat returns the string of a float following rules commonly used by JSON formatters.

func ParseFloat

func ParseFloat(s string) float64

ParseFloat parses a float number from a string.

func ParseInt added in v0.0.11

func ParseInt(s string) (int64, bool)

ParseInt parses an int from string

func ParseUint added in v0.0.11

func ParseUint(s string) (uint64, bool)

ParseUint parses an uint from string

Types

This section is empty.

Jump to

Keyboard shortcuts

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