Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotExact error = errors.New("conversion from float to int is not exact")
Functions ¶
func AddDecimals ¶
Receives a float and the number of decimals and returns an int with the decimals added
func MultiplyPercent ¶
Receives an int and multiplies it by the percentage of mult
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.