Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: Clyde on June 26, 2006

Title: Different Divides.
Post by: Clyde on June 26, 2006
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.
Title: Re: Different Divides.
Post by: Stonemonkey on June 26, 2006
Hi Clyde, \ is integer divide and / is floating point divide.
Title: Re: Different Divides.
Post by: Clyde on June 26, 2006
Cheers mate, I never knew that. Thanks StoneMonkey dude.