Hi, this problem is a little hard to explain. I'm working on a programming problem for a game. These numbers are the position on the screen, and each position on the screen exists in a tile. Note: I'm using hexidecimal numbers
$00 to $07 is tile1
$08 to $0F is tile2
$10 to $17 is tile3...
I want to be able to put any number into a formula that will come out with the tile number that number is in.
If I put in $06 the formula will come out with the number $01.
If I put in the number $14 the formula will come out with the number $03.
Can you explain what kind of formula/equation would do this?