/**
 * $Id: Str.java,v 1.1 1999/12/29 21:55:42 yamauchi Exp $
 *     (M\pi)^2 3 dimensional Vector class 
 *	Copyright 1999 By YAMAUCHI Hitoshi 山内 斉 
 *	@author YAMAUCHI Hitoshi 山内 斉
 *
 * String to double 変換部分の wrapper
 *   JDK1.1 
 *	(new Double(String)).toDoubleValue()
 *
 *   JDK1.2
 *	Double.parseDouble(String);
 *      
 */

package jp.ac.tohoku.is.archi.mpi2.jdk12src;

public final class Str
{
   /**
     * @see        java.lang.Double#parseDouble(String)
     */
    public static double toDouble(String s) throws NumberFormatException {
        return FloatingDecimal.readJavaFormatString(s).doubleValue();
    }
}
