added as_float() member to variant