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

Altair Community Member
Updated by Nitin Gupta
- How to convert 32-bit floating point number to decimal number and vice versa in Embed? Can it be done through Convert block?
Find more posts tagged with
Sort by:
1 - 3 of
31

New Altair Community Member
Updated by Girish Karamadi_21849
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 .

Altair Community Member
OPUpdated by Nitin Gupta
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.If you mean convert floating point to integer, then yes, convert block set to integer result will do it.
If you mean convert floating point to integer, then yes, convert block set to integer result will do it.