Android Question Calc % ?

G-ShadoW

Active Member
Licensed User
Hello,

how to calc with % ?

B4X:
Sub Button1_Click
EditText1.Text = ( "135" - "50" ) ' I want 135 - 50% or -10% ???
End Sub
 
Last edited:

udg

Expert
Licensed User
Hi,

Informatix's post has it all.
80% off (or -80%) = value * 0.2, i.e. 20% of the original value.
 
Top