Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default truncating and rounding

Hello,

When truncating and rounding figures, how do I get excel
to display any significant 0's in the final result

Many thanks
Chang
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default truncating and rounding

format(application.Round(vVal,2),"#.00")


if you mean in a cell

Format=Cells=Number Tab

select number and set decimals to 2.

--
Regards,
Tom Ogilvy

"Chang" wrote in message
...
Hello,

When truncating and rounding figures, how do I get excel
to display any significant 0's in the final result

Many thanks
Chang



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Truncating a VIN lputnam Excel Discussion (Misc queries) 3 November 11th 09 05:28 PM
text truncating Overcome by info Excel Discussion (Misc queries) 2 October 1st 07 04:16 PM
numbers truncating Sue Excel Discussion (Misc queries) 3 January 25th 07 12:52 PM
truncating text scott_cairns Excel Discussion (Misc queries) 7 May 30th 06 01:51 PM
Truncating numbers Susana C via OfficeKB.com Excel Worksheet Functions 1 May 8th 06 04:42 PM


All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"