• Welcome to Dark Bit Factory & Gravity.
 

Different Divides.

Started by Clyde, June 26, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Clyde

I've been looking through example code today, and have noticed that people are using; in calculations right slanted divides ( \ ) and | or left slanted divides ( / )
Could anyone explain what the differences are please?

Cheers and many thanks,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Stonemonkey

Hi Clyde, \ is integer divide and / is floating point divide.

Clyde

Cheers mate, I never knew that. Thanks StoneMonkey dude.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won: