Added support for float type