Thread: decimal places
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
keyur keyur is offline
external usenet poster
 
Posts: 13
Default thanks decimal places

thanks a lot
-----Original Message-----
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



.