[SOLVED] Number conversion to string

Hi,
using OH 2.5.

I have an Item that contains an integer from 0 to 100.
I want to convert this number to a decimal, thus dividing this number by 100.
Finally I need to convert it to a string in the rules.

Tried several syntax with no success.

	val float DeliosBatt = (delios_PercentBatt.state as DecimalType) / 100
	logInfo("Percentage",DeliosBatt.toString())

Error message:
Could not invoke method: java.lang.Float.toString() on instance: 1.00000000

Can anyone help me?

EDIT:
item definition:
Number delios_PercentBatt "Percentuale Batterie [%d%%]" (gEnergy) {http="<[delios:300000:REGEX(.*PercentBattery=(.*?)<.*)]" }

Change the float to Number

	val Number DeliosBatt = (delios_PercentBatt.state as DecimalType) / 100
	logInfo("Percentage",DeliosBatt.toString())

works thanks!