摘要:
publicstringFloatToHex(floatfloatValue){uintuintValue=BitConverter.ToUInt32(BitConverter.GetBytes(floatValue),0);byte[]byteValue=BitConverter.GetBytes(uintValue);Array.Reverse(byteValue);returnBitConverter.ToString(byteValue).Replace("-","");}publicfloatHexToFloat(StringhexString 阅读全文
posted @ 2011-03-01 22:25 hyruur 阅读(2271) 评论(0) 推荐(0) 编辑