Documentation ¶ Index ¶ func ArrAllDigits(s string) bool func FormatNumber(number int64, decimals int) string func ParseNumber(s string, decimals int) (int64, error) 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. Source Files ¶ View all Source files formatter.go string_parser.go Click to show internal directories. Click to hide internal directories.