Quote:
Originally Posted by Requi
I'm not familiar with SRO etc. but in the BitConverter Class of C# it's BitConverter.ToSingle();
|
short value is 2 byte but float is 4 byte so, not converted it.
Quote:
Originally Posted by GoneUp
Convert.ToSingle?
|
I was Tried it. Because it is convert float. For example ;
int a = 32;
float b = Convert.ToSingle(32); // b = 32.0 but I worked out this float veriable's max value is 1 so, this veriable is 0 between 1