Java tutorial
import java.math.BigDecimal; public class Main { public static void main(String[] args) { BigDecimal bg = new BigDecimal("1E+4"); System.out.println("Engineering string value of " + bg + " is " + bg.toEngineeringString()); } }