Skip to main content
pratiks0003
March 12, 2021
Question

not gettiing multiple no for calculation

  • March 12, 2021
  • 3 replies
  • 0 views

i am buildiing the calculator app and that i want the multiple in operand 1 and operand 2 for calculation . how can i use rule input to take more values 

    3 replies

    mikes0011
    Brainy
    March 12, 2021

    Nice looking calculator interface!  Can you clarify what you mean by "multiple in operand 1 and operand 2"?  What is your desired input and output?

    The Expression Guru
    pratiks0003
    March 15, 2021

    when click on 1,3,5 button then no should be operand 1 and value is135 after clicking  operator another no should be like 156 . i used only two button one and two in rule but i want to use all button then how it is done ? i am new in appian so dont get the idea for clicking the buttons and perform calculation . right now i done operation on only two buttons 8 , 9 but  i want app button should be operate the how it is done?

    mikes0011
    Brainy
    March 15, 2021

    without seeing your code, i'd think that your "operator" button clicks ( +, -, *, /, and = ) would need to do one sort of saveInto operation (maybe storing their current value into a local variable like "local!lastOperator"), while the number presses should simply do a saveInto of concatenating the previous entry with the new entry.

    The Expression Guru