plz tell me how will i write this to increase in decimal points
health+=1 // i want it to increase in decimal i.e. 1.1, 1.2, 1.3,......
health+=1 // i want it to increase in decimal i.e. 1.1, 1.2, 1.3,......
public int health = 1000;
// subtract and add using
health++;
//
health--;
// display using
showText("Health: "+(health/10), 60, 30);