Here you can find the source of toDouble(String s)
Parameter | Description |
---|---|
s | a parameter |
public static double toDouble(String s)
//package com.java2s; public class Main { /**//from w w w .j ava 2s.c om * Converts a string into a double * * @param s * @return double */ public static double toDouble(String s) { return Double.parseDouble(s); } }