func InRangeFloat64(value, left, right float64) bool {
	if left > right {
		left, right = right, left
	}
	return value >= left && value <= right
}
InRange returns true if value lies between left and right border
package govalidator
import (
	"math"
	"reflect"
)
func Abs(value float64) float64 {
	return math.Abs(value)
}
func Sign(value float64) float64 {
	if value > 0 {
		return 1
	} else if value < 0 {
		return -1
	} else {
		return 0
	}
}
func IsNegative(value float64) bool {
	return value < 0
}
func IsPositive(value float64) bool {
	return value > 0
}
func IsNonNegative(value float64) bool {
	return value >= 0
}
func IsNonPositive(value float64) bool {
	return value <= 0
}
func InRangeInt(value, left, right interface{}) bool {
	value64, _ := ToInt(value)
	left64, _ := ToInt(left)
	right64, _ := ToInt(right)
	if left64 > right64 {
		left64, right64 = right64, left64
	}
	return value64 >= left64 && value64 <= right64
}
func InRangeFloat32(value, left, right float32) bool {
	if left > right {
		left, right = right, left
	}
	return value >= left && value <= right
}