|
-
Nov 25th, 2009, 12:22 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Multiply TextBox
I have a percentage in my combobox and want to multiply it by the value in a textbox hereis the code i have, i would like to eliminate the /100, doesnt seem like the best way to do things? Am I wrong? Feels like there should be a more proper way to code this
k Code:
Listings.List1_status_adjstmenttxt.Text = Format(Val(Listings.List1_lptxt.Text) * Val(Me.statusadjstvaltxt.Text), "#,###") / 100
-
Nov 25th, 2009, 12:29 AM
#2
Hyperactive Member
Re: Multiply TextBox
vb Code:
Listings.List1_status_adjstmenttxt.Text = Format((Val(Listings.List1_lptxt.Text) * Val(Me.statusadjstvaltxt.Text)) / 100, "#,###")
This should be ok
If the post is heplful, Please Rate it
Chathura Wijekoon
-
Nov 25th, 2009, 12:44 AM
#3
Thread Starter
Frenzied Member
Re: Multiply TextBox
 Originally Posted by Chathura
vb Code:
Listings.List1_status_adjstmenttxt.Text = Format((Val(Listings.List1_lptxt.Text) * Val(Me.statusadjstvaltxt.Text)) / 100, "#,###")
This should be ok
Thank you, the way I wrote it works too, just seemed funny, like there should be a more professional way of doing it LOL
Thanks again
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
|