Divide Action Implementation Steps

1. Defining Action in UI Design

  • Open your project on the Kuika platform.
  • Switch to the UI Design module and select the screen for calculation.
  • Create a button (for example “Divide” or “Calculate Ratio”).
  • Select the button and add the Arithmetic > Divide action by specifying the appropriate trigger event (Initial Actions, OnClick, etc.) from the + ADD ACTION menu.

2. Configure Action Parameters

  • Value (Decimal - mandatory): The main numeric value for the division operation.
    • Data can be transferred to this field primarily from data sources such as Action Result. Other sources such as Method Input, Current, Screen Input, Fixed or Component can also be used. These categories can be defined by selecting them via Symbol Picker .
  • Value2 (Decimal - mandatory): The second value is the divisor.
  • Data can be imported into this field primarily from data sources such as Action Result. Other sources such as Method Input, Current, Screen Input, Fixed or Component can also be used. These categories can be defined by selecting them via Symbol Picker.

Value2 field should not be entered as “0”. Since division by 0 is mathematically invalid, the system may give an error.