numjson

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 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 ToDigit

func ToDigit(c byte) byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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