func InRange(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"
func Abs(value float64) float64 {
	return value * Sign(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
}