trouble getting a slider value into filemaker pro

I’m using a slider to input a number into Filemaker pro and when it is set to any number other than zero it is fine but when the number is zero it puts in 0e+0 into the field. If I use:
set something to the value of slider “slider” as string
it uses 0.0 which I really don’t want.

does anyone know a work around for this

Thanks for any help in advance
Michael

Hi Michael, I’m not sure if I did understand what you want instead:
A plain “0” ?

if something = 0.0 then
set something to something as integer
end if

Or a blank string?

if something = 0 then
set something to " "
end if

Or…?

Ciao
Farid

The integer is what I needed.

Thank you very much