Java tutorial
/* * Output: 10.234 */ public class MainClass { public static void main(String args[]) { double degrees = Double.valueOf("10.234").doubleValue(); System.out.println(degrees); } }