create decimal from field when using calculate type

196
1
Jump to solution
05-15-2023 01:11 PM
dwold
by
Occasional Contributor II

In the following example, if I want ${target_value_percent} input to be a decimal of the user input value, how would I do that? If the user enters 25 I want that equation to be ${target_set} * .25

(${target_set} * ${target_value_percent}

would it be something like

(${target_set} * (.)${target_value_percent}

0 Kudos
1 Solution

Accepted Solutions
DougBrowning
MVP Esteemed Contributor

Just divide by 100.  25 / 100 = .25

${target_set} * (${target_value_percent} div 100)

View solution in original post

1 Reply
DougBrowning
MVP Esteemed Contributor

Just divide by 100.  25 / 100 = .25

${target_set} * (${target_value_percent} div 100)