public static Number parseNumber(final String text, final Locale locale) throws ParseException
    {
        return withinLocale(new Callable<Number>()
        {
            public Number call() throws Exception
            {
                return parseNumber(text);
            }
        }, locale);
    }
public static Number parseNumber ( final String text , final Locale locale ) throws ParseException { return withinLocale ( new Callable < Number > ( ) { public Number call ( ) throws Exception { return parseNumber ( text ) ; } } , locale ) ; }
<p>
Same as {@link #parseNumber(String) parseNumber} for the specified
locale.
</p>

@param text
String containing a spelled out number.
@param locale
Target locale
@return Text converted to Number
@throws ParseException