Java tutorial
public class Main { public static void main(String[] args) { Double d = new Double("10.50"); System.out.println("Value = " + d.doubleToRawLongBits(2.5d)); } }