[MUD-Dev] Re: [CODE QUESTION] How to encode floats into bytes?

Richard Woolcock KaVir at dial.pipex.com
Mon Sep 7 19:11:44 CEST 1998


Regarding my last post, I completely missed the subject of the message ;)

Sorry...but I'm sure the same idea could be applied to char's, eg:

typedef union
{
   char  Char[4];
   float Float;
} char_float_type;

KaVir.




More information about the mud-dev-archive mailing list