parsers

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrAllDigits added in v1.13.2

func ArrAllDigits(s string) bool

func FormatNumber

func FormatNumber(number int64, decimals int) string

func ParseNumber

func ParseNumber(s string, decimals int) (int64, error)

ParseNumber parses the string for the representation of a number in format "dddd.dd" or "dddddd" (without decimal digit) Note: If excess decimals contains invalid characters, they are ignored

Types

This section is empty.

Jump to

Keyboard shortcuts

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