Page 1 of 1

SpiderBasic and PureBasic behave differently at casting INTs

Posted: Thu Sep 24, 2020 8:34 am
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