I have a C/ffi function that expects a double as an argument.

If I do (foo 0.0) <-- works fine

if I do (foo 0) <-- complains about int / double mismatch; which makes sense. Is there a way to automatically have gambit convert ints to doubles?

Thanks!