Now I'm completely stumped! That just shows feet, and as a really long number, e.g, 100 cm comes out as 3.2808398950131235!!!
I need it to be 3ft 3inches.
What I would suggest you to do is to obtain the feet & inches separately. First, you would need to find out the integral foot component, without rounding off. You just need to do a Math.floor() on the answer you had to get 3.0. Then by using Math.round, you'll get a long integer value 3.
Next, you'd need to find out the rounded off inches portion. By subtracting the integral foot component from the answer, you'll get 0.2808398950131235. So the remaining challenge would be to convert this to an integer value of 3 (inches component). I'm sure you're able to figure out the remaining steps.
