LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 517 users online 225223 members 1370 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
agerask
Peeves: Loud breathers, leg tappers, and liars...
Mood: Plain
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
2 online / 66 MPM
Christmas Eve
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic visual basic problem
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
EarthEmpire Posted at 8:52 am on Feb. 22, 2006
ok, here is a line from my code, and it says that there is a msitake by dividing by zero, i dont know what to do with it:

       sngDime = (sngChange - 1000 * intThousand - 100 * intHundred - 50 * intFifty - 20 * intTwenty - 10 * intTen - 5 * intFive - 2 * intTwo - 1 * intOne - 0.25 * sngQuarter) \ (0.1)

Replies
EarthEmpire Posted at 9:15 pm on Mar. 31, 2006
Quote: from squirellplayingtag at 8:23 pm on Mar. 31, 2006

Didn't I post a reply to this somewhere with all the code worked out? Oh well.

i made two posts about it.. thanks, i looked at yours too, it was really helpful.. i wish my teacher could explain stuff better...

squirellplayingtag Posted at 8:23 pm on Mar. 31, 2006
Didn't I post a reply to this somewhere with all the code worked out? Oh well.
EarthEmpire Posted at 6:43 pm on Mar. 31, 2006
lol, thanks for the replies, btw., i declared the variables before i wrote that. but it really doesnt matter now.. i handed it in weeks ago and still got 90 somehow.. thanks though
mephisto mortis Posted at 2:37 pm on Mar. 27, 2006
Quote: from EarthEmpire at 12:33 pm on Feb. 22, 2006

truly i dont know.. i think double...

its been about 4 years since ive looked at vb, but arent you suppose to define that when you define that variable?

EarthEmpire Posted at 9:33 am on Feb. 22, 2006
truly i dont know.. i think double...
squirellplayingtag Posted at 9:18 am on Feb. 22, 2006
Is sngDime a double or float?
EarthEmpire Posted at 8:54 am on Feb. 22, 2006
wow that was so helpful..
shaninanigan Posted at 8:53 am on Feb. 22, 2006
Post from this position was omitted due to content violations
All 8 previous replies displayed.