Java tutorial
public class Main { public static void main(String args[]) { StringBuffer buffer = new StringBuffer(); double doubleValue = 33.3; buffer.insert(0, doubleValue); System.out.println(buffer.toString()); } }