terraform/vendor/github.com/antchfx/xpath/func_go110.go

10 lines
105 B
Go
Raw Normal View History

// +build go1.10
package xpath
import "math"
func round(f float64) int {
return int(math.Round(f))
}