Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIt just ate my long answer, so here is the short one... in 'C'
float value = 6.8; printf("%08X",*(unsigned int *)(&value)) ; 40D9999 No conversion needed, just a reinterpretation of the representation.