value was stored as text by mistake. Change its type to DOUBLE without losing data.
value
DOUBLE
Run your code to see the output here.