If you meant 12 ¼ divided by ⅛ it would be 98
Turn 12 ¼ into a improper fraction
49/4 ÷ ⅛
Make it into a multiplication problem and flip ⅛
49/4 × 8/1
Now you just have to multiply across and then divide because it makes a whole number
392/4
392 ÷ 4 = 98