Truncating a cell value AFTER the decimal place
From: nano (nano.11xstf_at_excelforum-nospam.com)
Date: 02/20/04
- Next message: Jonsson: "Re: timeformatting and colored cells"
- Previous message: Chip Pearson: "Re: Empty Cell Question."
- Next in thread: A.W.J. Ales: "Re: Truncating a cell value AFTER the decimal place"
- Reply: A.W.J. Ales: "Re: Truncating a cell value AFTER the decimal place"
- Reply: Medemper: "Re: Truncating a cell value AFTER the decimal place"
- Reply: John H W: "RE: Truncating a cell value AFTER the decimal place"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Feb 2004 12:09:16 -0600
I am assuming that the following question has a simple solution, however
I haven't found the answer after quickly searching the forum and a VBA
book.
I would like to truncate the cell value in the following manner:
25.7873 to 25.787
My understanding of the truncate function is that it will truncate the
value to 25 and I have tried formatting the number with the following:
Selection.NumberFormat = "#.##0"
The NumberFormat only altered the displayed number, not the value of
the number. How can I easily accomplish this.
Thanks in advance,
Bruce
--- Message posted from http://www.ExcelForum.com/
- Next message: Jonsson: "Re: timeformatting and colored cells"
- Previous message: Chip Pearson: "Re: Empty Cell Question."
- Next in thread: A.W.J. Ales: "Re: Truncating a cell value AFTER the decimal place"
- Reply: A.W.J. Ales: "Re: Truncating a cell value AFTER the decimal place"
- Reply: Medemper: "Re: Truncating a cell value AFTER the decimal place"
- Reply: John H W: "RE: Truncating a cell value AFTER the decimal place"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading