S

I get a hex value from a device through serial port over modbus protocol. but I don't know how to convert it to equivalent fraction decimal.

for example:

I get : 41C41DC3

and it is : 24.51453

is any body familiar with algorithm?

also if there is a algorithm to convert binary to fraction decimal it would help.

or if there is any vb.net function to do that?

Thanks : Saeid_Yousefpour [at] yahoo.com