Hey. is there a way to find out how far a number is from zero, like -30 would be 30 digits from zero and the same for +30.Any help would be appreciated

I don’t get you. You just said that 30 is 30 away from 0. So if you already have 30, then …??? I’m confused

Math.abs(n);

will figure out the absolute value of an integer…so Math.abs(30); returns 30, and so does Math.abs(-30);