Hi,
The number is coming from the db as 7795.54. I want to remove the decimals and put in the seperator 7,795 rounding up to 7,796 would even be better but not absolutely necessary
Thanks
The other part of it, is that I am putting it into a grid so I want the cell to take the formatted value I.E
Grid_Result.Rows[i].Cells["Fin_Tot_Prem"].Value = l_gros_renew + (l_gros_renew * l_ipt);
l_perday = (l_gros_renew + (l_gros_renew * l_ipt))/365;
Hi,
I have bee trying to format the following field and cannot seem to get it right. All examples show consolewrite where as I am trying to put the formatted number in a cell. Here is the code
float l_perday = 0;
l_perday = (l_gros_renew + (l_gros_renew * l_ipt))/365;
I want l_perday to be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.