|
-
Feb 1st, 2005, 05:22 PM
#1
Thread Starter
Member
about Formatcurrency function
hey all i tried all the methods to convert my answer to dollars from my last post but they didnt work so could someone please help me out would ith elp that ok the label is where i have programmed to where i want the answer to be n its called lblFutureValues and i have a text box called txtAmount where i enter the amount of money invested now do i need to format that number to or just the number calculated in the label... the number is 4022.714375 n i want it to be $4022.71
-
Feb 1st, 2005, 05:32 PM
#2
PowerPoster
Re: about Formatcurrency function
Hi,
lblFutureValues.Text=FormatCurrency(Val(txtAmount.Text), TriState.True)
will work for all amounts
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
|