Re: Data type to hold decimals
- From: "James Cornthwaite" <jamescornthwaite@xxxxxxxxxxxxxx>
- Date: Sun, 18 Jun 2006 23:32:14 +0100
thanks very much
"Norman Jones" <normanjones@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eOgHbRykGHA.2200@xxxxxxxxxxxxxxxxxxxxxxx
Hi James,
i have variable x which can hold longs
what type do i need to hold a number which may be greater than 65536 but
also have two decimal places?
Look at Double Data Type and Single Data Type in VBA help.
is there a similar type conversion for this type similarly as
=cint(...)
and
=clng(....)
Look for CDbl and CSgl in the VBA help page: 'Type Conversion Functions'
---
Regards,
Norman
"James Cornthwaite" <jamescornthwaite@xxxxxxxxxxxxxx> wrote in message
news:itqdnbzZ_b30UQjZnZ2dnUVZ8tKdnZ2d@xxxxxxxxx
i have variable x which can hold longs
what type do i need to hold a number which may be greater than 65536 but
also have two decimal places?
is there a similar type conversion for this type similarly as
=cint(...)
and
=clng(....)
Probably an easy q but dont know
thanks
james
.
- References:
- Data type to hold decimals
- From: James Cornthwaite
- Re: Data type to hold decimals
- From: Norman Jones
- Data type to hold decimals
- Prev by Date: Re: Excel VBA Macro Running DOS Application !!
- Next by Date: Re: copy to netprinter
- Previous by thread: Re: Data type to hold decimals
- Next by thread: Re: Excel VBA Macro Running DOS Application !!
- Index(es):
Relevant Pages
|