How to i set the int to hitpoints / 10 + the current int.

I need to Set exp to h.hitPoints divided by 10 + the exp int * the level int.

code

while (h == null && hitTransform.parent) {
				hitTransform = hitTransform.parent;
					h = hitTransform.GetComponent<MonsterHealth> ();
			}

			if (h != null) {
				if(h.tag != ("Player")){
					h.GetComponent<PhotonView> ().RPC ("TakeDamage", PhotonTargets.All, damage);
					PlayerPrefs.SetInt("Exp", h.hitPoints as int / 10 + PlayerPrefs.GetInt("Exp")* PlayerPrefs.Getint("Lvl"));
				}
			}

Try

PlayerPrefs.SetInt("Exp", (int) h.hitPoints / 10 + PlayerPrefs.GetInt("Exp")* PlayerPrefs.Getint("Lvl"));