SpiderBasic and PureBasic behave differently at casting INTs

Found an issue in SpiderBasic ? Please report it here !
User avatar
Kurzer
Posts: 84
Joined: Mon May 26, 2014 9:33 am

SpiderBasic and PureBasic behave differently at casting INTs

Post by Kurzer »

SpiderBasic and PureBasic behave differently when casting data types (integer, float)
The following snippet returns a valid floating point number in SpiderBasic and zero in PureBasic.

Code: Select all

Define.i Width=320, Height=99
Debug 100 / Width * Height
Markus