After lots of buggering about, i managed to get some of it to work, though i would still appreciate a little explanation as to why i got that error,

but i feel that my best trick so far is that i managed to use the int thing to display a value like this

Code:
30.0
i know that it is a whole number but i didn't think that integers used decimal places