0 Members and 2 Guests are viewing this topic.
Ah yes, forgot about that Revised into int(AfPart(A/B
Well, technically, 2.53 has modulus, but nobody seems to use it...
Oops *facepalm* int doesnt round
Quote from: Michael_Lee on September 13, 2010, 07:52:42 pmWell, technically, 2.53 has modulus, but nobody seems to use it...I'm sorry, but if TI thinks introducing a useful feature on a glitchy OS is a good idea...
And about 84+MP modulus, you probably shouldn't use it since it wouldn't work on every other calc/OS.
OOps *facepalm* int doesnt round
Wabbit gets updated pretty often, so you might want to update yours occasionally.Quote from: meishe91 on September 12, 2010, 02:58:57 pmI'm still not really sure how to use modulus But oh well, I can figure it out some other time What do you mean? Modulus is just the remainder after division. For example, if you had an array of 3 rows of 3 entries per row, and X is the entry you're in (counting across each row first, then going down), X/3 is the row number, and X^3 is the column in that row.
I'm still not really sure how to use modulus But oh well, I can figure it out some other time
modulus is a very useful in programming and is found in many other languages as well. It can be used for many applications like finding if a number is prime or for finding a row or many other uses. If you continue on programming, even in other languages it would be good to learn and the syntax is incredibly simple, after all it's just like all the other operators.
By now the best Ti-83+ minesweeper game on the market.
Btw, what's the intended max for columns and rows?
TI should have added it to BASIC long ago. It's certainly more useful than the IS/DS functions