PlayBASIC LIVE: Cast Rules For Division and all Numeric Operation (2017-08-28)

Started by kevin, August 27, 2017, 11:32:40 AM

Previous topic - Next topic

kevin



  PlayBASIC LIVE: Cast Rules For Division and all Numeric Operation (2017-08-28)

  Welcome... Today we get stuck into some of the automatic casting rules that PlayBASIC applies to numeric variables and values when dealing with mathematical operations such as Division, even through it also applies to Addition / Subtraction and Multiplication. The general rule is that PB will choose integer only operation when both sides of an operator are integer, if not, it'll perform a floating version of the operation, so it gets computed on the FPU.

 






stevmjon

it's always interesting getting 'what's under the hood' videos. thanks.
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.