prejith
(Prejith Prasannan)
1
Hi,
How to create a calculator.
take input from the keyboard (Input dialog activity used for this)
calculate the Simple Interest amount using the equation A=P(1+rt)
R must accept Float Values.
How it makes. Please suggest the idea about the datatypes of the variable or share some sample workflows.
Thanks !!
sarathi125
(Parthasarathi)
2
@prejith,
In the equation no R mentioned,
you can do it by
Declare A as a Decimal/Double data type
Declare P as a Decimal/Double data type
Declare rt as a Decimal/Double data type
Inside an assign A = CDbl( P*(1+rt))