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
Re: about Formatcurrency function
Hi,
lblFutureValues.Text=FormatCurrency(Val(txtAmount.Text), TriState.True)
will work for all amounts