Abs(x) Function

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
nodochau
Pro Scripter
Posts: 131
Joined: Wed Jan 16, 2019 12:59 pm

Abs(x) Function

Post by nodochau » Tue Sep 01, 2020 1:22 pm

Hello All,
How to use the Abs function. Tried these but none of them worked.
let>x=Abs(-3)
mdl>x
=============
let>x=-3
let>y=Abs(x)
mdl>y
Please help! :oops:
Thanks

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Abs(x) Function

Post by Dorian (MJT support) » Tue Sep 01, 2020 1:33 pm

I think this is what you need :

Code: Select all

Let>x=-3
Let>y={Abs(%x%)}
MessageModal>y
OR :

Code: Select all

Let>y={Abs(-3)}
MessageModal>y
OR :

Code: Select all

MessageModal>{Abs(-3)}
Yes, we have a Custom Scripting Service. Message me or go here

nodochau
Pro Scripter
Posts: 131
Joined: Wed Jan 16, 2019 12:59 pm

Re: Abs(x) Function

Post by nodochau » Tue Sep 01, 2020 1:52 pm

Thank you :P

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts