This repository has been archived on 2024-04-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
elektron/schedulers/proactive_dynamic_capping/src/utilities/utils.go

9 lines
187 B
Go

package utils
import "strconv"
// Convert float64 to string
func FloatToString(input float64) string {
// Precision is 2, Base is 64
return strconv.FormatFloat(input, 'f', 2, 64)
}