How to convert BigDecimal object to a String representation that uses the exponential form? something like: 3.134e67? I looked into the API and I found toEngineeringString() but it does not give me what I want.
How to convert BigDecimal object to a String representation that uses the exponential form?
Share
Have you read the NumberFormat documentation, this is from DecimalFormat:
See: http://docs.oracle.com/javase/1.4.2/docs/api/java/text/DecimalFormat.html