Documentation ¶ Index ¶ func DecimalPlaces32(num float32, places int) (float32, error) func DecimalPlaces64(num float64, places int) (float64, error) func FloatToString(num float64, places int) string func Round(num float64) int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DecimalPlaces32 ¶ func DecimalPlaces32(num float32, places int) (float32, error) func DecimalPlaces64 ¶ func DecimalPlaces64(num float64, places int) (float64, error) func FloatToString ¶ func FloatToString(num float64, places int) string func Round ¶ func Round(num float64) int Types ¶ This section is empty. Source Files ¶ View all Source files maths.go Click to show internal directories. Click to hide internal directories.