Hi from Paris,

Take for example 5 * 5 + 1. Did we mean (5 * 5) + 1? Or did we mean 5
* (5 + 1)? Well we know by math formula rules that the multiplication
is calculated first, so 26 is the correct answer. It would have been
clearer to just use the parenthesis and avoid any confusion, and many
programmers would. So does Rev. But my point is, someone decided that
was the rule, so we could never be mistaken about what the result
would be.

I learned, in school (in England), nearly 60 years ago - "BODMAS"

Brackets Off/Divide/Multiply/Add/Subtract

I don't think that the rules have changed ........!

-Francis

"Nothing should ever be done for the first time !"

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to