I have declared some values as double
s:
double mean;
double median;
Since the mean
after the calculation is a whole number, it is showing without any decimal value. But I need 2 decimal values.
eg:- if the mean is 255, I need to show it as 255.00.
How to achieve this?
What I have tried: Round(mean,2)
Still showing 255
Need 255.00
Need the same for the numbers from the data file too. Need to show the whole number as a decimal number with 2 precision.