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.

Newcomers DBPro Corner / integer mod and float mod

Author
Message
Ligh
20
Years of Service
User Offline
Joined: 16th Nov 2003
Location:
Posted: 9th Sep 2006 19:20
Why cant you use mod with floats?


CodemanV
19
Years of Service
User Offline
Joined: 25th Aug 2005
Location: South Wales Valleys, UK
Posted: 10th Sep 2006 10:04
Hello

That second chunk of code works OK when I run it.

Have you updated your Dark Basic to the latest version? (6.2)

I'm not sure, but I think older versions of DB didn't support using float's with the MOD command.
Ligh
20
Years of Service
User Offline
Joined: 16th Nov 2003
Location:
Posted: 10th Sep 2006 20:27
hey thanks,

yes it was the version, i upgraded and it works now

Login to post a reply

Server time is: 2024-09-25 07:27:52
Your offset time is: 2024-09-25 07:27:52