Current location - Training Enrollment Network - Mathematics courses - Mathematical logic operation of Yi language
Mathematical logic operation of Yi language
The idea is as follows:

Judgment (edit box 3. Content = "+")

Edit box 1. Content = to text (to numerical value (edit box 2. Content)+value (edit box 4. Content))

Judgment (edit box 3. Content = "-")

Edit box 1. Content = to text (to numerical value (edit box 2. Content)-numerical value (edit box 4. Content))

Judgment (edit box 3. Content = "* ")

Edit box 1. Content = to text (to numerical value (edit box 2. Content) * is numeric (edit box 4. Content))

Judgment (edit box 3. Content = "/")

Edit box 1. Content = to text (to numerical value (edit box 2. Content) * is numeric (edit box 4. Content))

Judgment (edit box 2. Content! & gt 10)

Edit box 1. Content = "Not up to requirements!"