GUI.DrawTexture not showing correctly.

CODE

void OnGUI()
{

GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.975f, 800,15), empty);
GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.975f, 800 * (ExperiencePoints.exp / ExperiencePoints.expNeeded), 15), fullExp);
GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.89f, 180, 20), empty);
GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.89f, 180 * (PlayerHealth.curHealth / PlayerHealth.maxHealth), 20), fullHealth);
GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.93f, 180, 20), empty);
GUI.DrawTexture(new Rect(Screen.width * 0.05f,Screen.height * 0.93f, 180 * (PlayerHealth.curMana / PlayerHealth.maxMana), 20), fullMana);
}

QUESTION

Well,first of all,thanks in advanced for the replies,this is the first thing I haven’t be able to figure out reading other answers already.

The code above is to draw “bars” of experience,health and mana, each of them have 2 “layers” the empty texture and the full texture,The full textures are displayed according to the amount of experience,health,mana you have.The problem is for some reason the mana/health bars that are suposed to be filled/unfilled don’t show properly unless they are at the MAX value,the Experience bar DOES show properly,it fills according to the exp you have at that point and on “level up” it goes back to 0(as Scripted). Any insight? thanks again. Mikael.

For anyone interested, I found out why they werent filling properly,the problem was using an Integer variable instead of a Float(As I had done with my experience variable).