Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
February 23, 2025, 10:04:24 AM
VoiceAttack User Forums
Home
Help
Search
Login
Register
VoiceAttack
»
Profiles, Commands and Plugins
»
Profile and Command Discussions
»
List of Math Functions
« previous
next »
Print
Pages: [
1
]
Author
Topic: List of Math Functions (Read 765 times)
MalcomR
Newbie
Posts: 48
List of Math Functions
«
on:
January 23, 2025, 05:13:24 PM »
Is there a list of math functions we can use in the EXP expression or other places. The PDF does not list them and so far I've come up empty on searching. I'm looking for things like Sign(x), ABS(x) and would like to know what is available.
Thanks.
Logged
Pfeil
Global Moderator
Hero Member
Posts: 4836
RTFM
Re: List of Math Functions
«
Reply #1 on:
January 24, 2025, 07:45:40 AM »
Quote from: VoiceAttackHelp.pdf 1.15+ page 182
Accepted arithmetic operators: +, -, * (multiplication), / (division), % (modulus).
The documentation lists what's available for the "{EXP:}" token.
The mathematical functions you've mentioned, and many more, are available through the "Computed value" option of the "Set a Decimal Value" action.
Logged
MalcomR
Newbie
Posts: 48
Re: List of Math Functions
«
Reply #2 on:
January 24, 2025, 08:12:14 AM »
Thank you. The EXP docs did not list any of the functions I needed and I did not see the Compute value. I'll go back and dig into it.
I was looking at the Set Integer which does not have all those functions and did not look at the Set Decimal because I am working with integers. Now I know. Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
VoiceAttack
»
Profiles, Commands and Plugins
»
Profile and Command Discussions
»
List of Math Functions