package
Version:
v0.0.0-...-1ece53b
Opens a new window with list of versions in this module.
Published: Mar 13, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package zfmt implements additional formatting functions.
Binary returns a nicely formatted binary representation of a number.
func Number[T number](n T, thousandsSep rune) string
Number returns a formatted representation of n, using thousandsSep to
separate thousands.
If thousandsSep is '.' it will use ',' as the fraction separator, otherwise
it will default to '.'.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.