float类型数据小例子c++