Thread: decimal places
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vasant Nanavati Vasant Nanavati is offline
external usenet poster
 
Posts: 1,080
Default decimal places

MsgBox Format(num, "#.00")

--

Vasant

"keyur" wrote in message
...
hi

how can i get a result with only say 2 decimal places?
i have something like

num = 34* nrows/500/60

i want to display this in a message box with only 2
decimal places.

thanks