Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/05/2011, 13:58
guillebomtrasmiti
 
Fecha de Ingreso: noviembre-2010
Ubicación: madrid
Mensajes: 478
Antigüedad: 13 años, 5 meses
Puntos: 5
Pregunta dos operaciones en un mismo grid

hola, quería restar un porcentaje y a la vez multiplicar el resultado por 1,18....pero no me sale, lo intento así

Public Sub restadto()
If RPorceUnitario.Checked Then
If CDbl(TextIva.Text) = 18 Then
TextTotalLinea.Text = CStr((Val(TextPrecio.Text) * 1.18))
End If
TextTotalLinea.Text = CStr(Val(TextPUnid.Text) * Val(TextDto.Text) / 100)
End If
End Sub

Última edición por guillebomtrasmiti; 21/05/2011 a las 16:24