SpiderBasic and PureBasic behave differently at casting INTs
Posted: Thu Sep 24, 2020 8:34 am
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.
Markus
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