I have created a data source of type HTTP Retriever to make a web request for the status of an equipment. The response of the request is simple of the type:
result = <value>
I would like Mango to show me the value obtained in hexadecimal. For this I have configured a Data Point as follows:
According to the Mango documentation, the following can be read:
*"In addition to the standard DecimalFormat options you can prefix your format with '0x' to imply you want hexidecimal values rendered. This format will truncate the decimal place and requires that you supply the minimum number of places you want rendered. So 0x00 will always render at least 2 values:
512 = 0x200
255 = 0xFF
16.7 = 0x10
15 = 0x0F"*
Therefore, if I receive a 15, I expected the value of the data point to take a 0x0F
However, as seen in the image, the result is a negative value.
Am I setting something wrong or it is a bug?