How to add .0 if the value is not decimal in C# : I need to convert some value into decimal and show the value in 
WPF Text Box i have done with the below

   

        Double calculateinputPower="somegivenvalue";
           String valuePower="somevalue";
           Double calculatePower = Double.Parse(valuePower);
           calculatePower = calculatePower - calculateinputPower + calculateErp * 1;
           calculatePower = Double.Parse(String.Format("{0:0.0}", calculatePower));
           valuePower = System.Convert.ToString(calculatePower);
           ERP.Text = valuePower;
    
    if my output value is like 
    ex:66.2356 -> 66.2 , 32.568 -> 32.5 , 22.35264 ->22.3
    i am getting the format which i need exactly but if the output value is like
    22,33,11,66,55 something like this then i want convert that value to 
    22->22.0
    33->33.0
    11->11.0
    66->66.0 how can i get this in C#.



