Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. glaing

    Formatting float to no decimals

    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
  2. glaing

    Formatting float to no decimals

    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;
  3. glaing

    Formatting float to no decimals

    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...

Part and Inventory Search

Back
Top