Odd Even numbers

Scotte Meredith spomacguy at gmail.com
Mon Jan 17 21:23:32 UTC 2022


You could create a method called $isOdd that contained:

quit method mod(pNumber,2)

You would pass in the number and it would return True if Odd and False if Even.



> On Jan 17, 2022, at 12:38 PM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> Hi all,
> Is there a function is OS10.2 to return an Odd or Even number?
> Rgds, Martin O.
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



Scotte Meredith
spomacguy at gmail.com
509/998-0991






More information about the omnisdev-en mailing list