> > Int will return just the integer portion.
An Integer is a number with no decimals...
--
Jack Leach
www.tristatemachine.com
- "First, get your information. Then, you can distort it at your leisure."
- Mark Twain
"Bill-41" wrote:
> Hi, Is there a way to change the properties of the field in the table to
> fixed, zero decimals??
>
>
> "John Spencer" wrote:
>
> > Cdbl will convert that a decimal based number.
> >
> > Int will return just the integer portion. OR If you want to round the
> > number then you will need use the round function to round it up or down
> > as appropriate (round uses bankers rounding).
> >
> > If you want leading zeroes you will need to convert the value to a
> > string and pad with leading zeroes.
> >
> >
> > '====================================================
> > John Spencer
> > Access MVP 2002-2005, 2007-2009
> > The Hilltop Institute
> > University of Maryland Baltimore County
> > '====================================================
> >
> >
> > Bill-41 wrote:
> > > Hi, I'm relatively new to this. I'm importing a CSV file into an access
> > > table called finance. The field 'account' displays as 2.34010825002E+11 in
> > > scientific format. I want to get it as a 12 digit fixed numberwith no
> > > decimals. ie: 234010825002
> > >
> > > Can someone please help put me on the right track to get some VBA code that
> > > would change the filed properties?
> > >
> > > Thanks!!
> >