View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
integreat
 
Posts: n/a
Default general question about variables


I can't for the life of me get this line of code to work:

deltaX = .01

When I go to the immediate window I find deltaX = 0

I can't assign a decimal value to that variable. I remember it was much
easier in quick basic to do this What am I doing wrong?

BTW the variable deltaX has been dimensioned as LONG

The good news is that I almost have a custom function that will allow
intergration by the trapezoidal method.


--
integreat
------------------------------------------------------------------------
integreat's Profile: http://www.excelforum.com/member.php...o&userid=34282
View this thread: http://www.excelforum.com/showthread...hreadid=543908