How van convert MSCOMM.input data to a decimal value which can be used to show into a chart.