snake_scale is an integer which needs to be converted into a float. Checkout the Haskell documentation about fromIntegral.
snake_scale
fromIntegral