Formatting returned value in TextBox

  • Thread starter Thread starter jpendegraft
  • Start date Start date
J

jpendegraft

I am trying to return a value as actual currency. I would like it t
be constant 2 digits. When I use the round feature, it eliminates th
zeros

How do I hold 2 digits constant.

I already am placing the $ in front
 
just use

Textbox1.Text = Format(Textbox1.Text, "$#,##0.00")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top