Add support for Float attributes

Uses .to_f method on object, can convert from all objects supporting this method