Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFloating Point result to the decimal one
I would like to convert the Mantissa Result to the Decimal one with floating point included. The steps I do: 1). I'm interested to divide two decimal numbers . For example 10 and 3 ===> 10/...
Altera_Forum
Honored Contributor
14 years agoI don't know what you mean with "mantissa format". An IEEE float number is comprised of mantissa and exponent.
There's however no conversion to a fixed point decimal format provided. If you want to see something like 3.3, you need to multiply the float result with 10 (or 100, 1000, whatsoever) and convert back to integer. You get a result of 33, 333 or 3333 in your example, which can be interpreted as fixed point decimal format.