Skip to content

Commit ba3f27f

Browse files
committed
util: util: add comment to interface to float function
1 parent bbcbeb2 commit ba3f27f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"strconv"
55
)
66

7+
// InterfaceToFloat64 will convert any interface value to float64
78
func InterfaceToFloat64(val interface{}) float64 {
89

910
var i float64

0 commit comments

Comments
 (0)