Inserting decimal places
Hi all. I'm quite new to mango and java so forgive me if the answer is obvious.
I am getting the correct voltage values from a modbus device but it is an integer and I can't figure out how to display it with a decimal point. The value is eg. 23456 and I want to display it as 234.56.
Thanks in advance.
Edit the data point and set its multiplier to 0.01. You will probably want to change its text renderer format too.
Thanks Jared. Where do I insert the multiplier?
Edit the data point at /data_sources.shtm
Thanks Jared but I have led you astray. My apologies.
I am getting the data from a modbus device but then transmitting the data over Sigfox. I am then extracting the value from the Sigfox payload and sending to an email address. I have Mango receiving and extracting the value from an email. I can't see any multiplier option on the email point details page.
I know it's not the best way to get the data but if I can get this going it means we can use Mango for practically all of our devices as some can only send email notifications.
Thanks again and sorry for the confusion.
@Robmalone In that case I think your best option is to create a Meta data source and meta data points which ingest the integer data point values and return the divided value.
We have plans to make this easier by providing the multiplier option on all data points, or a script expression which can manipulate the value.
Ok. I'll give that a go. Thanks for the help Jared.