Skip to Content
0
Dec 02, 2022 at 11:27 AM

FM or Code for Converting a string value into floating point value

459 Views Last edit Jan 03, 2023 at 03:25 PM 2 rev

Hi Experts,

In a QM related process, I am getting the values from the PI interface in the form of a string (Sample values - 123.89 or 123,89). On trying to convert this value to Floating point using the FM - CHAR_FLTP_CONVERSION, I am getting error as value not floating point.

Is there any alternate FM or code which can be used to convert the String value to a floating-point value.