Support for float as numeric type.

Discovered that there was no support for float when trying to expose a class member variable.