support for passing float arguments

No idea what I'm doing here, but this seemed to allow me to call functions which take doubles.