The valueof(double dnum), is the Java String Class method, which creats and holds the double value in String. And the "dnum" converts the double value to String. See the example below...
a simple example of valueOf(double dnum) method in Java.
public static void main(String args)
String Str = String.valueOf(8.16);
// double values.
the output is:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: February 16, 2005 If you enjoyed this post then why not add us on Google+? Add us to your Circles