Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAmount ¶
FormatAmount converts an amount into a brief string representation with at most 3 significant digits
func FormatFixed ¶
FormatFixed converts an amount into a brief string representation with exactly 3 significant digits, and exactly 5 characters.
func FormatPercent ¶
FormatFixed turns a number between 0 and 1 into a 5-character percentage representation with exactly 3 significant digits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.