I am writing my code in codesys in CFC Language and performing multiplication and store the answer in variable of LREAL data type. My issue is when the answer comes negative it still shows positive answer. I looked to solve the problem by changing the data type of resulted variable but i am unable to find Float data type in CFC language.
Please help me as I am stucked in it. Awaiting for kind replies.
TIA