Engeneering notation using decimalformat and _?
im attemping to show numbers in engennering notation insted of scientific notation.
im attemting to use the decimalformat command to convert doubles into strings then inst engennering format but no avail.
basically i have no idea how to compleate this cycle and get engenering notation.
any advice would be verry helpfull even an exaple of using decimal format commands.
thanks
The minimum and maximum number of integer digits are interpreted together:
* If the maximum number of integer digits is greater than their minimum number and greater than 1, it forces the exponent to be a multiple of the maximum number of integer digits, and the minimum number of integer digits to be interpreted as 1. The most common use of this is to generate engineering notation, in which the exponent is a multiple of three, e.g., "##0.#####E0". Using this pattern, the number 12345 formats to "12.345E3", and 123456 formats to "123.456E3".
http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html