Originally posted by Pirate
Add the two numbers in an integer or decimal type depends on the number format you'll get . Then use the ToString like shown before .
You lost me! I did however add the ("c") behind my AverageSales and it worked fine, just won't work with my TotalSales:
VB Code:
  1. If SP = 0 Then
  2.             grpAverageSales.Text = (SA).ToString("c")
  3.         Else
  4.             grpAverageSales.Text = ((SA + TS) / (SP + 1)).ToString("c")
  5.  
  6.         End If