¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: DivMod and Modulous in Simpl+


 

Now if only I had a Pro3 at home instead of a Pro2 I might know this ;)

--
Lincoln King-Cliby, CTS
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Silver)
ControlWorks Consulting, LLC
Crestron Services Provider

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of RobK
Sent: Thursday, June 13, 2013 5:32 PM
To: Crestron@...
Subject: [Crestron] Re: DivMod and Modulous in Simpl+

In the 3 series, in SIMPL#, you can do floats, just for what it's worth.


--- In Crestron@..., Lincoln King-Cliby <lincoln@...> wrote:

MOD

A = Y MOD Z;

Though (in the 2 series at least) SIMPL+ has no concept of floating point math -- if you need to play with decimals you'll need to use some tricks

--
Lincoln King-Cliby, CTS
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Silver)
ControlWorks Consulting, LLC
Crestron Services Provider

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of maglite4cell
Sent: Thursday, June 13, 2013 2:15 PM
To: Crestron@...
Subject: [Crestron] DivMod and Modulous in Simpl+

Has anyone ever used something like divmod in SIMPL+. I need to work with decimals. Any Ideas?



------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links



------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links

Join [email protected] to automatically receive all group messages.