Class DecimalPlaces

java.lang.Object
   |
   +----DecimalPlaces

public final class DecimalPlaces
extends Object
This class produces a method to render a string representing a double value with specified number of decimal places.


Method Index

 o render(double, int)
Render a String representing a double with specified number of decimal places.

Methods

 o render
 public static String render(double x,
                             int m)
Render a String representing a double with specified number of decimal places.

Parameters:
x - the value to convert to a string.
m - number of decimal places.