|
-
Nov 1st, 2003, 08:47 PM
#1
man, I wish i could take a vb course at my skewl (easy credit).
but it looks like some of your values here are wrong, eather that or my brains fried and thats a definite possiblity
this is forumula i used to check your numbers
newnum = (Math.Round(oldnum*.9))-0.01
for example reg price: 39.00, new price: 35.99
35.1=39*.9 'find 90% of 39 or 39-10% of 39
35=Round(35.1)
34.99=35-.01
34.99 <> 35.99
did you forget to say sumtin?
also post the whole contents of the data file.
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
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
|