|
-
Nov 20th, 2000, 02:45 PM
#1
Thread Starter
Lively Member
Maybe I'm explaining this wrong.
This is what I have now:
txtAve.Text = (Val(txt1a) + Val(txt2a)) / (Val(txt1) + Val(txt2))
Currently when you click the cmd button that calculates txtAve's result, you get multiple positions past the decimal. I want to limit how many spaces. ex: 0000.000 or .00
I'm sorry if I've made this so confusing.
Thanks again.
-
Nov 20th, 2000, 02:48 PM
#2
Frenzied Member
txtAve.Text = Round((Val(txt1a) + Val(txt2a)) / (Val(txt1) + Val(txt2)),2)
i.e. Round(numberToRound,numberAfterDecimal)
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
|