For example, I can receive 30 ebony by trading away 20 dye. But if I only have 18 dye, how do I calculate how much ebony I can get?
I end up trying all numbers, dividing 18 into 26, 27, 28 to find the exact amount (which was 27). I need a more efficient way.
This isn't a math problem - it's for a game. Based on math needed pre-algebra seemed best forum. Please move thread if needed, thank you.
I end up trying all numbers, dividing 18 into 26, 27, 28 to find the exact amount (which was 27). I need a more efficient way.
This isn't a math problem - it's for a game. Based on math needed pre-algebra seemed best forum. Please move thread if needed, thank you.