Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Decimal Variable

Author
Message
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 18th May 2008 06:31
~~In VB6~~

If I multiply a rational number by another number of which the product will be a rational number and store it to Long variable it rounds the product into an integer... Is there another type of variable I can store it in which doesn't round the product?

~~It's not who you are underneath, but what you do that defines you.~~
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 18th May 2008 07:23
float/double?

Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 18th May 2008 08:27
Double works, Thanks...

~~It's not who you are underneath, but what you do that defines you.~~

Login to post a reply

Server time is: 2024-11-20 11:48:05
Your offset time is: 2024-11-20 11:48:05