Is there a simple way in c# to round a decimal to the nearest quarter i.e. x.0, x.25, x.50 x.75 for example 0.21开发者_如何学JAVA would round to 0.25, 5.03 would round to 5.0
目录1.writelines()直接写入2.str转化为字符串写入3.for循环写入4.使用.join函数修改列表读取数据附:还有写csv文件和excel文件的方式总结1.writelines()直接写入