package
1.3.4
Repository: https://github.com/avakarev/go-util.git
Documentation: pkg.go.dev

# Functions

ChangeByPercent calculates change of given number by given percent.
Drawdown calculates percentage of the peak value.
Percent calculates value of given <percent> from given <total>.
PercentDiff calculates percentage difference between two numbers.
PercentOf calculates what percent <part> of <total>.
Round rounds given float number to given precision (decimal digits).

# Interfaces

Number is a constraint that covers any integer or float type.