Thanks Richard The underscore before "currency" is not in my code. The code works if I leave PriceF,S and R as integers (not currency). Totaltake is fine with currency format.
Reply from Richard Rost:
Does it work with DOUBLE types? You obviously don't want to use integers since you can't have decimal values.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visual Basic Forum.