LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 648 users online 211098 members 1496 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
BleedingSteelWings
Interests: you'll find out.
Mood: Frustrated
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
6 online / 31 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

visual basic problem
dividing by zero
Replies: 8Last Post Mar. 31, 2006 9:15pm by EarthEmpire
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( EarthEmpire )


Soothsayer

Patron
Reply
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)


-------
Remember, remember the 9th of November. Never Refer.
DeviantArt Myspace


8:52 am on Feb. 22, 2006 | Joined: April 2005 | Days Active: 833
Join to learn more about EarthEmpire Alberta, Canada | Straight Female | Posts: 5,400 | Points: 11,335
Post from this position was omitted due to content violations
( EarthEmpire )


Soothsayer

Patron
Reply
wow that was so helpful..

-------
Remember, remember the 9th of November. Never Refer.
DeviantArt Myspace

8:54 am on Feb. 22, 2006 | Joined: April 2005 | Days Active: 833
Join to learn more about EarthEmpire Alberta, Canada | Straight Female | Posts: 5,400 | Points: 11,335
squirellplayingtag


Dairy Product Addict

Patron
Reply
Is sngDime a double or float?

-------
"The most abundant element in the universe is
hydrogen, then second is stupidity."-Harlan Ellison
"What good fortune for our governments that the
people do not think."-Hitler

9:18 am on Feb. 22, 2006 | Joined: Jan. 2003 | Days Active: 1,260
Join to learn more about squirellplayingtag Maryland, United States | Straight Male | Posts: 6,458 | Points: 27,128
( EarthEmpire )


Soothsayer

Patron
Reply
truly i dont know.. i think double...

-------
Remember, remember the 9th of November. Never Refer.
DeviantArt Myspace

9:33 am on Feb. 22, 2006 | Joined: April 2005 | Days Active: 833
Join to learn more about EarthEmpire Alberta, Canada | Straight Female | Posts: 5,400 | Points: 11,335
mephisto mortis


Enlightened One
Reply
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?

-------
Lifes a bitch.  If it were a slut it'd be too easy.


2:37 pm on Mar. 27, 2006 | Joined: June 2004 | Days Active: 969
Join to learn more about mephisto mortis New York, United States | Straight Male | Posts: 5,854 | Points: 16,173
( EarthEmpire )


Soothsayer

Patron
Reply
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

-------
Remember, remember the 9th of November. Never Refer.
DeviantArt Myspace

6:43 pm on Mar. 31, 2006 | Joined: April 2005 | Days Active: 833
Join to learn more about EarthEmpire Alberta, Canada | Straight Female | Posts: 5,400 | Points: 11,335
squirellplayingtag


Dairy Product Addict

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

-------
"The most abundant element in the universe is
hydrogen, then second is stupidity."-Harlan Ellison
"What good fortune for our governments that the
people do not think."-Hitler

8:23 pm on Mar. 31, 2006 | Joined: Jan. 2003 | Days Active: 1,260
Join to learn more about squirellplayingtag Maryland, United States | Straight Male | Posts: 6,458 | Points: 27,128
( EarthEmpire )


Soothsayer

Patron
Reply
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...

-------
Remember, remember the 9th of November. Never Refer.
DeviantArt Myspace


9:15 pm on Mar. 31, 2006 | Joined: April 2005 | Days Active: 833
Join to learn more about EarthEmpire Alberta, Canada | Straight Female | Posts: 5,400 | Points: 11,335
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic