PC Review


Reply
Thread Tools Rate Thread

Digits after decimal

 
 
=?Utf-8?B?U3RoYXBwYWxp?=
Guest
Posts: n/a
 
      20th Nov 2006
Dear Forum,

Can any body know the formula or syntax

I want to fix number of digits after the decimal in a frist position of the
array. from the same array the subsequent cells should be fixed based on the
first cell of the array .

For example 0.254 if i put in first cell the subequent cell of the array
should also have 3 digit after decimal.

Thanks in advance

Sthappali

 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      20th Nov 2006
Do you mean you want the .Value to have the same of decimal places or that
the .Text should be formatted to appear that way ?
Check out the difference between a cell's .Value and .Text. Also
..NumberFormat.

Also, by "array" do you mean a range of cells or a VBA array of singles ?
e.g. Dim DecimalArray(1 to 1000 as single

NickHK

"Sthappali" <(E-Mail Removed)> wrote in message
news:E1CE3CAE-6DFF-469C-84FB-(E-Mail Removed)...
> Dear Forum,
>
> Can any body know the formula or syntax
>
> I want to fix number of digits after the decimal in a frist position of

the
> array. from the same array the subsequent cells should be fixed based on

the
> first cell of the array .
>
> For example 0.254 if i put in first cell the subequent cell of the array
> should also have 3 digit after decimal.
>
> Thanks in advance
>
> Sthappali
>



 
Reply With Quote
 
=?Utf-8?B?U3RoYXBwYWxp?=
Guest
Posts: n/a
 
      20th Nov 2006

Thanks Nickhk

"NickHK" wrote:

> Do you mean you want the .Value to have the same of decimal places or that
> the .Text should be formatted to appear that way ?
> Check out the difference between a cell's .Value and .Text. Also
> ..NumberFormat.
>
> Also, by "array" do you mean a range of cells or a VBA array of singles ?
> e.g. Dim DecimalArray(1 to 1000 as single
>
> NickHK
>
> "Sthappali" <(E-Mail Removed)> wrote in message
> news:E1CE3CAE-6DFF-469C-84FB-(E-Mail Removed)...
> > Dear Forum,
> >
> > Can any body know the formula or syntax
> >
> > I want to fix number of digits after the decimal in a frist position of

> the
> > array. from the same array the subsequent cells should be fixed based on

> the
> > first cell of the array .
> >
> > For example 0.254 if i put in first cell the subequent cell of the array
> > should also have 3 digit after decimal.
> >
> > Thanks in advance
> >
> > Sthappali
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling decimal digits John Microsoft Access 6 17th Mar 2010 01:34 PM
keep digits on right of decimal Ian Microsoft Excel Discussion 9 23rd Mar 2008 03:42 PM
30 decimal digits WIlly Haagen Microsoft Excel Misc 2 11th Mar 2007 07:16 PM
display 2 decimal digits =?Utf-8?B?RnJlZHJhdGVk?= Microsoft Access Form Coding 2 9th Aug 2006 06:36 PM
decimal digits jk Microsoft Excel Discussion 3 23rd Oct 2005 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:08 PM.