Android Question How can I add decimals to a Spinner?

Levisvv

Member
Licensed User
Longtime User
I have the following code:

B4X:
dim WireSize as spinner
For i=0.1 To 2 Step 0.1
    WireSize.Add(Round2(i,1))
Next

But what I get in my Spinner is only the numbers that equate to integers.
i.e. I only get 1 & 2 and that's it, 2 items only.
How can I fix this???
 
Top