|
-
Jun 8th, 2004, 12:51 PM
#2
PowerPoster
Hi,
Try, for example;
TextGross.Text = FormatCurrency(GP, 2)
By the way, if you are not previously updating SP at any time, your code:
If SP = 0 Then
grpAverageSales.Text = (SA).ToString
Else
grpAverageSales.Text = ((SA + TS) / (SP + 1)).ToString
End If
is unnecessary, as you can simply use
grpAverageSales.Text = ((SA + TS) / (SP + 1)).ToString
Last edited by taxes; Jun 8th, 2004 at 12:55 PM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|