hi guys
i have an array
double[] value={23,332,44,22,22};
i print this the out put is like
23.0 332.0 44.0 22.0 22.0
what my question is
double[] value={23.22211,332.22323,44.23323,22.32232,22.3232};
is there any possible to take only two digits after point like this ==> 23.22 ,332.22,44.23,22,32,22.32 when declare the value array.
can anybody give idea.
by
Naga
i have an array
double[] value={23,332,44,22,22};
i print this the out put is like
23.0 332.0 44.0 22.0 22.0
what my question is
double[] value={23.22211,332.22323,44.23323,22.32232,22.3232};
is there any possible to take only two digits after point like this ==> 23.22 ,332.22,44.23,22,32,22.32 when declare the value array.
can anybody give idea.
by
Naga