Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/01/2008, 02:15
Avatar de culd
culd
 
Fecha de Ingreso: noviembre-2003
Mensajes: 959
Antigüedad: 21 años, 6 meses
Puntos: 19
Re: Me suma MAL los decimales!

Cita:
Iniciado por NRLABS Ver Mensaje
Dim a As Double
Dim b As Double

a = Text1.Text
b = Text2.Text
Text3.Text = a + b
Dim a As Double
Dim b As Double

a = cdbl(Text1.Text)
b = cdbl(Text2.Text)
Text3.Text = a + b