How to convert decimal fractions to hexadecimal fractions?
You can use this algorithm: Take a fractional part of the number (i.e. integer part equals to zero) Multiply by 16 Convert integer part to hexadecimal and put it down Go to step 1 For instance, let’s find out hexadecimal representation for pi = 3.141592653589793… integer part is evident – 0x3; as for fractional part … Read more