im trying to solve 16=floor((100*floor(.15*X))/86), but i dont exactly know how
The floor function maps a range of numbers into a single function. So there are infinitely many solutions. You could solve it as an inequality. 16=floor((100*floor(.15*X))/86) means 16 <= 100*floor(.15*X))/86 < 17 Rearrange those inequalities to isolate floor(.15*X). Then on each side you'll once again have a range of values for .15*X. Edit: 16*0.86 <= floor(.15*X) < 17*0.86 13.76 <= floor(.15*X) < 14.62 But because floor is an integer, that means that floor(15*X) has to be 14. It's possible I might have gotten a range of integers at this point. floor(.15*X) = 14 14 <= .15*X < 15