#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Wath means

Hi everybody,

In a pice of code I found this expression.

Case Is < 2000000000000#

Wath means an what is the function of "#"

Regards,


--
Luis Fernando Ortiz Maldonado


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Wath means

# indicates the number is single precision, not an integer.

"Luis Fernando Ortiz M." wrote:

Hi everybody,

In a pice of code I found this expression.

Case Is < 2000000000000#

Wath means an what is the function of "#"

Regards,


--
Luis Fernando Ortiz Maldonado



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Wath means

You sure it doesn't mean double?



Joel wrote:

# indicates the number is single precision, not an integer.

"Luis Fernando Ortiz M." wrote:

Hi everybody,

In a pice of code I found this expression.

Case Is < 2000000000000#

Wath means an what is the function of "#"

Regards,


--
Luis Fernando Ortiz Maldonado




--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Wath means

Dave: I'm not sure. This is what I did this afternoon.

Dim abc As Single
abc = 5.0

Excel changed the 5.0 to 5#.

"Dave Peterson" wrote:

You sure it doesn't mean double?



Joel wrote:

# indicates the number is single precision, not an integer.

"Luis Fernando Ortiz M." wrote:

Hi everybody,

In a pice of code I found this expression.

Case Is < 2000000000000#

Wath means an what is the function of "#"

Regards,


--
Luis Fernando Ortiz Maldonado




--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Wath means

Seach VBA's help for DataType.

Look at Double (and single).

You'll see that each help ends with a statement like:

The type-declaration character for Double is the number sign (#).

and

The type-declaration character for Single is the exclamation point (!).

I think you just got some help from the VBE since you typed in the decimal point
and 0.

=======
From the VBE's immediate window:

?typename(5#)
Double

?typename(5.0#)
Double

?typename(5.0)
Double

?typename(5)
Integer





Joel wrote:

Dave: I'm not sure. This is what I did this afternoon.

Dim abc As Single
abc = 5.0

Excel changed the 5.0 to 5#.

"Dave Peterson" wrote:

You sure it doesn't mean double?



Joel wrote:

# indicates the number is single precision, not an integer.

"Luis Fernando Ortiz M." wrote:

Hi everybody,

In a pice of code I found this expression.

Case Is < 2000000000000#

Wath means an what is the function of "#"

Regards,


--
Luis Fernando Ortiz Maldonado




--

Dave Peterson


--

Dave Peterson
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
x means Y MitzDriver Excel Discussion (Misc queries) 3 October 8th 09 12:32 PM
what is this formula means =+$R$16 mahmoud Excel Worksheet Functions 1 December 16th 08 01:48 PM
What exactly {=TRANSPOSE()} means tuncau Excel Worksheet Functions 2 December 4th 08 08:43 AM
hi i would like to know what this means } [email protected] New Users to Excel 1 February 24th 06 09:30 PM
Can someone tell me what this means? DennisE Excel Programming 1 January 29th 04 05:28 AM


All times are GMT +1. The time now is 08:13 AM.

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

About Us

"It's about Microsoft Excel"