public static final Function<String,Byte> toByte(final RoundingMode roundingMode, final Locale locale) {
        return new ToByte(roundingMode, locale);
    }
public static final Function < String , Byte > toByte ( final RoundingMode roundingMode , final Locale locale ) { return new ToByte ( roundingMode , locale ) ; }
<p>
Converts a String into a Byte, using the specified locale for determining
decimal point. Rounding mode is used for removing the
decimal part of the number. The integer part of the input string must be between
{@link Byte#MIN_VALUE} and {@link Byte#MAX_VALUE}
</p>

@param roundingMode the rounding mode to be used when setting the scale
@param locale the locale defining the way in which the number was written
@return the resulting Byte object