I think you will have to perhaps maybe take a look at this:
IEEE 754-1985 - Wikipedia, the free encyclopedia
There are some standards out there for doing this, but "normal" binary won't "allow" decimal, as you know, so.... So what binary (to put it like that) will you use? Some standard, or....?