Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.
Search in
Link copied. Please paste this link to share this article on your social media post.
Originally published on Geo SCADA Knowledge Base by Anonymous user | June 10, 2021 12:57 AM
Out := (8/15); (* will return 0 *) Out := (8.0/15); (* will return 0.5333333 *) Out := (8/15.0); (* will return 0.5333333 *) Out := (8.0/15.0); (* will return 0.5333333 *)
PROGRAM DivideTest VAR In1 AT %I(.In1.CurrentValue) : DINT; In2 AT %I(.In2.CurrentValue) : DINT; Out AT %M(.Out.CurrentValue) : LREAL; END_VAR Out := DINT_TO_LREAL(In1) / DINT_TO_LREAL(In2); END_PROGRAM
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.