B
Bill
Hi
I am having trouble trying to format a number string to two decimal places
if the number ends in a 0
It formats fine otherwise.
For example if PrincRepay is 78.20 it will display it as 78.2
PrincRepay, payment and IntAmt are double
PrincRepay = Math.Round(payment - IntAmt,2);
PrincRepayStr = PrincRepay.ToString("N2");
Is there anyway around this
Thanks in advance
Bill
I am having trouble trying to format a number string to two decimal places
if the number ends in a 0
It formats fine otherwise.
For example if PrincRepay is 78.20 it will display it as 78.2
PrincRepay, payment and IntAmt are double
PrincRepay = Math.Round(payment - IntAmt,2);
PrincRepayStr = PrincRepay.ToString("N2");
Is there anyway around this
Thanks in advance
Bill