Java tutorial
//package com.java2s; public class Main { public static double transfromToDouble(int data, int radix) { double temp = (double) data; temp = temp / Math.pow(10.0, radix); return temp; } }