Hi all, does anyone advise how I can multiply a TextBox contents after the decimal point?
So essentially I need -
Many ThanksPlease Login or Register to view this content.
Hi all, does anyone advise how I can multiply a TextBox contents after the decimal point?
So essentially I need -
Many ThanksPlease Login or Register to view this content.
I dont think I quite understand. Please explain 'after the decimal point'. Your code above should work even with decimal points.
Please Login or Register to view this content.
I'd like to omit the first figure so , TextBox3.Value * 2.369 would be:
TextBox3.Value * .369
Would something like the following be what you are looking for?
The first is a straight multiplication.
The second does a search for the decimal place and omit everything in front of it including the decimal.
The third is the same as the second except it includes the decimal.
Please Login or Register to view this content.
?Please Login or Register to view this content.
Hi,
You might use
Please Login or Register to view this content.
Don
Please remember to mark your thread 'Solved' when appropriate.
Thanks frabulator, I'm looking for something a little easier to maintain, but thank you.
Hi Jindon, the code doesn't come up with the required figure?
xlnitwit's code is actually a condensed version of mine. It should be a lot easier to maintain
Depending on your decimal seperator 1 of this 2 can do
Kind regardsPlease Login or Register to view this content.
Leo
Thanks lads, ;-)
or
cheersPlease Login or Register to view this content.
Leo
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks