Versions in this module Expand all Collapse all v1 v1.0.1 Jul 13, 2026 v1.0.0 Jul 12, 2026 Changes in this version + func ClosestByteWithPrecision[T constraints.Integer | constraints.Float](bytes T, precision int) string + func ClosestByte[T constraints.Integer | constraints.Float](bytes T) string + func ClosestKWithPrecision[T constraints.Integer | constraints.Float](v T, precision int) string + func Closest[T constraints.Integer | constraints.Float](v T) string + func ToFixed(num float64, precision int) float64 + func ToGigaByte[T constraints.Integer | constraints.Float](bytes T) float64 + func ToGiga[T constraints.Integer | constraints.Float](bytes T) float64 + func ToKiloByte[T constraints.Integer | constraints.Float](bytes T) float64 + func ToKilo[T constraints.Integer | constraints.Float](bytes T) float64 + func ToMegaByte[T constraints.Integer | constraints.Float](bytes T) float64 + func ToMega[T constraints.Integer | constraints.Float](bytes T) float64 + type Byte float64 + func (r Byte) String() string