Forum Discussion

ValerieHuddl276's avatar
ValerieHuddl276
Community Member
2 months ago

Multiply 4 numeric values

I'm trying to create a business potential calculator in Storyline 360 that multiplies 4 numerical values (NV for below) to result in a dollar amount. Below is what I'm trying to accomplish. NV1 x NV...
  • JudyNollet's avatar
    2 months ago

    It's true that you can only perform one math calculation per trigger. That means you'll need multiple triggers to multiply 4 numbers. 

    For example.

    • Use NV1, NV2, NV3, and NV4 as the variable names for the 4 values to be multiplied.
    • Also create a numeric variable (e.g., NV_calc) for the calculated amount. 
    • Trigger 1: Set NV_calc to the value of NV1
    • Trigger 2: Multiple NV_calc by the value of NV2
    • Trigger 3: Multiple NV_calc by the value of NV3
    • Trigger 4: Multiple NV_calc by the value of NV4

     

    The NV_calc variable will update with each trigger.

    Note: Access the operators by clicking that part of the trigger wizard.