[EOS] How can I do Multiplication or math in general

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
Epton
Explorer At Heart
Explorer At Heart
Posts: 111
Joined: Sun Mar 05, 2017 9:56 am

[EOS] How can I do Multiplication or math in general

Post by Epton »

I plan to use Prompt and maybe teaseStorage

For example:
Prompt: BPM
I Input 100
so now BPM = 100
now I want to do 100 * 0.5
And have a new BPM of 50
User avatar
Kapierik
Explorer
Explorer
Posts: 37
Joined: Tue Aug 11, 2020 5:50 pm
Location: Germany

Re: [EOS] How can I do Multiplication or math in general

Post by Kapierik »

Insert an eval action after the prompt stating:
bpm = bpm * 0.5;

Keep in mind the variables are case sensitive, so better use lower case letters for variables.
Epton
Explorer At Heart
Explorer At Heart
Posts: 111
Joined: Sun Mar 05, 2017 9:56 am

Re: [EOS] How can I do Multiplication or math in general

Post by Epton »

Kapierik wrote: Tue Dec 06, 2022 1:43 pm Insert an eval action after the prompt stating:
bpm = bpm * 0.5;

Keep in mind the variables are case sensitive, so better use lower case letters for variables.
Thank you so much
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest