convert 32-bit floating point number to decimal number in Altair Embed

Nitin Gupta
Altair Community Member
- How to convert 32-bit floating point number to decimal number and vice versa in Embed? Can it be done through Convert block?
Tagged:
0
Answers
-
If you mean convert floating point to integer, then yes, convert block set to integer result will do it.
0 -
Hi Nitin,
It is possible with the convert block . May I know what is purpose here you are trying to achieve??
If you could attach your embed diagram(.vsm file) which you are facing the difficulty with it could be easier to resolve the problem .
0 -
Hello Peter, I want to convert a 32 bit single precision floating point number to its decimal value and vice versa. For example 0x3F000000 is a 32 bit single precision representation of decimal value of 0.5.Peter Darnell said:If you mean convert floating point to integer, then yes, convert block set to integer result will do it.
0