标签:
格式化single保留两位小数:string.ToString("f2")
c++ float类型对应C#的single类型
C++Unit16[],flost[] 对应C#数组:
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]
public UInt16[] Retained; //留存数(登录人数);对应数据留存率天数,1,3,7,30,60;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]
public Single[] rate; //留存率 对应数据留存率天数,1,3,7,30,60;
标签:
原文地址:http://www.cnblogs.com/xxxiaoxiong/p/5048707.html