I\'m getting the wrong number when converting bits to float in C#.
Let\'s use this bit number= 1065324597
number= 1065324597
In Java, if I want to co
Just try this...
var myBytes = BitConverter.GetBytes(1065324597); var mySingle = BitConverter.ToSingle(myBytes,0);
The BitConverter.GetBytes converts your integer into a four byte array. Then BitConverter.ToSingle converts your array into a float(single).