Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 28, 2005 12:01 PM by dinuj
Participant
1155 Points
323 Posts
Oct 28, 2005 10:05 AM|LINK
1270 Points
254 Posts
Oct 28, 2005 12:01 PM|LINK
yanivhanya
Participant
1155 Points
323 Posts
simple question
Oct 28, 2005 10:05 AM|LINK
dim i as int16 = 2/3
dim o as int16 = i * 5
o is zero!!
how can i fix it, or use the full number?
i know it should be simple, but i couldn't find it in the online help...
dinuj
Participant
1270 Points
254 Posts
Re: simple question
Oct 28, 2005 12:01 PM|LINK
Edit: Are you sure o = 0, i just tried it out returns i = 1 after round of. So o = 5.
Declare both i and o as Double. This will solve it.
Dinuj Nath