View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Francesco
 
Posts: n/a
Default Rounding decimals in a summ

HI

working on excel 2003

this what I had set up in a macro

(cell A1 as a value of 12,32)

my macro:

Dim timpt as long
timpt = timpt + cells(1,1).value

the result is 12,00

What I would like and I cannot get it is to keep the decimals and not to
have as a result a rounded number

Any help will be appreciated
Thanks
Francesco