ok now here is my problem
i have the program which works with numbers
and then i work with quite big numbers vb gives me:
run-time error '6':
overflow
what a hell is that?
is there any way to corect that?
how?(if there is)
why sky is blue?
Printable View
ok now here is my problem
i have the program which works with numbers
and then i work with quite big numbers vb gives me:
run-time error '6':
overflow
what a hell is that?
is there any way to corect that?
how?(if there is)
why sky is blue?
Try declaring your variables as long.
Dim intMyNumber as Long
the sky is blue because it reflects the ocean!
Wayne
Change ur variable data type, so that it can hold bigger number.
Check out this early post.
http://www.vb-world.net/ubb/Forum1/HTML/012219.html
order of storage size :
Byte<Integer<Long<Single<Double
Why ocean is blue? :)
Joon
Thanx
-casparas
Number size is limited to the data type you use, ine xample, integers max = 2032 or somewehre around that
The reason the sky is blue is due to the shemicla, soxygen carbod dioxide, nitrogen passing throught the sun....or at least thats what i think
The ocean is blue for the same reason that the sky is blue. The blue of the ocean is caused by scattering of sunlight by tiny particles suspended in the water. Blue light, being of short wave length, is scattered more effectively than light of longer wave lengths.
*copy and pasted from the web!
[This message has been edited by MR (edited 12-30-1999).]