packer-cn/vendor/github.com/antchfx/xpath/func_go110.go

10 lines
105 B
Go

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