On Jul 18, 11:41 pm, Merouen Ballout <[email protected]> wrote:
> as example code 1.11 the average is declared like  primitive type
> double so in the output it should be double , so what's method can be
> used in order to  to display after point?
See the class DecimalFormat, read the javadoc, especially the
explanation at the beginning.
At the end of the explanation, you will find a reference to a Java
tutorial where all is explained in details.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to