class MathUtils {

    public static boolean isUnitInterval( String value )
    {
        if ( !isNumeric( value ) )
        {
            return false;
        }

        Double dbl = Double.parseDouble( value );

        return dbl >= 0d && dbl <= 1d;
    }

}