converting double number to exponential number

Discussion in 'Java' started by sweetone, Jan 20, 2007.

  1. sweetone

    sweetone Guest

    Is there any method in java to convert double number to its exponential
    equivalent with specific number of digits after decimal??
     
    sweetone, Jan 20, 2007
    #1
    1. Advertisements

  2. sweetone wrote:
    > Is there any method in java to convert double number to its exponential
    > equivalent with specific number of digits after decimal??


    <http://java.sun.com/j2se/1.5.0/docs/api/java/text/DecimalFormat.html>

    HTH

    Andrew T.
     
    Andrew Thompson, Jan 20, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Lawrence [MSFT]

    Re: See data in exponential format

    Eric Lawrence [MSFT], Mar 1, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    696
    =?Utf-8?B?Sm9yZ2UgTWFnYW50bw==?=
    Mar 2, 2004
  2. =?iso-8859-1?B?bW9vcJk=?=
    Replies:
    3
    Views:
    15,490
    NullBock
    Jan 23, 2006
  3. Sydex
    Replies:
    12
    Views:
    7,181
    Victor Bazarov
    Feb 17, 2005
  4. ruds
    Replies:
    3
    Views:
    6,019
    Daniel Pitts
    Jan 10, 2007
  5. Michael McGarry
    Replies:
    4
    Views:
    995
    Michael McGarry
    Nov 2, 2005
  6. pereges
    Replies:
    7
    Views:
    1,261
    Keith Thompson
    Apr 15, 2008
  7. Fei Liu
    Replies:
    21
    Views:
    3,188
    John Bokma
    Dec 16, 2006
  8. Ferrous Cranus
    Replies:
    7
    Views:
    397
    Ferrous Cranus
    Jan 23, 2013
Loading...