UnderwareDESIGN

PlayBASIC => Beginners => Topic started by: kevin on August 27, 2017, 11:32:40 AM

Title: PlayBASIC LIVE: Cast Rules For Division and all Numeric Operation (2017-08-28)
Post by: kevin on August 27, 2017, 11:32:40 AM


  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.

 





Title: Re: PlayBASIC LIVE: Cast Rules For Division and all Numeric Operation (2017-08-28)
Post by: stevmjon on August 29, 2017, 09:45:06 PM
it's always interesting getting 'what's under the hood' videos. thanks.