Here you can find the source of toFloat(String s)
Parameter | Description |
---|---|
s | a parameter |
public static double toFloat(String s)
//package com.java2s; public class Main { /**/*www .j ava 2 s .co m*/ * Converts a string into a float * * @param s * @return float */ public static double toFloat(String s) { return Float.parseFloat(s); } }