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.

Author
Message
fizgog
16
Years of Service
User Offline
Joined: 3rd Oct 2002
Location:
Posted: 5th Oct 2002 00:38
In C using the % gives you the remainder of an integer,
Is this possible under Dark Basic or do I have to write a seperate function.
TGWDNGHN
16
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 5th Oct 2002 04:42
I don't know, but a command known as Modulus...in most languages known as MOD, is the opposite...gives you the division WITHOUT the remainder...ex: 5MOD2=2...I think you can devise a FUNCTION for your REMAINDER prob if there is no function already...

Login to post a reply

Server time is: 2019-07-18 23:55:44
Your offset time is: 2019-07-18 23:55:44