playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Is there an action to find the difference between two numbers?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is there an action to find the difference between two numbers? (Read 2946 times)
kenmarold
Playmaker Newbie
Posts: 14
Is there an action to find the difference between two numbers?
«
on:
December 16, 2015, 06:26:59 PM »
If I want to find the difference between -3.5 and 8.5 how would I do that in Playmaker?
Logged
craigz
Beta Group
Full Member
Posts: 234
Re: Is there an action to find the difference between two numbers?
«
Reply #1 on:
December 16, 2015, 07:35:22 PM »
Should just need to subtract them
Here's one way to do it. It could probably be condensed down to a couple states, but here's a few more to illustrate. I used integers to make the numbers cleaner, but it'll work for floats as well.
GIF
Grab
best!
Logged
@thatscraigz
|
W A R C U B E
terri
Sr. Member
Posts: 386
Re: Is there an action to find the difference between two numbers?
«
Reply #2 on:
December 16, 2015, 09:20:49 PM »
here is an action that does craigz's logic on its own
Logged
craigz
Beta Group
Full Member
Posts: 234
Re: Is there an action to find the difference between two numbers?
«
Reply #3 on:
December 16, 2015, 11:19:58 PM »
Ahh! Thanks Terri
Don't mind me... I'm just going to be taking this also..
Logged
@thatscraigz
|
W A R C U B E
dudebxl
Hero Member
Posts: 602
Re: Is there an action to find the difference between two numbers?
«
Reply #4 on:
December 16, 2015, 11:41:37 PM »
+ 1. To add to ecosystem..
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Is there an action to find the difference between two numbers?