troubleshooting Question

Change sample code to show percent instead of whole number

Avatar of dave_sky
dave_skyFlag for United States of America asked on
.NET ProgrammingVisual Basic.NET
3 Comments2 Solutions500 ViewsLast Modified: & Sql Server 2005 - databound textboxes:

 In the code below: can someone change this code so TextBoxOverheadPercent is a % instead of a whole number? example (.35) instead of (1.00)

TextBoxOHAmount.Text = (TextBoxOverheadPercent.Text) * (TotalTextBox.Text)

TextBoxOverheadPercent: data type is decimal(18, 0)
Others: data type is Int.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros