Stop the rounding
scooter6 at gmail.com
scooter6 at gmail.com
Fri Sep 14 11:53:44 PDT 2007
Probably even better -- didn't quite get if he was declaring dummy var to
field 25 first or what
makes sense though
On 9/14/07, Keith Weatherhead <keithw at discusdataltd.net> wrote:
>
> Hmmm, maybe...
>
> cb = mid(25,"1","7")
>
> Keith
>
>
> scooter6 at gmail.com wrote:
> > Wouldn't just a simple mid statement do the trick?
> >
> > cb=mid(cb,1,3)
> >
> > Scott
> >
> >
> >
> > On 9/13/07, Steven Waters <swaters at triumphinstruments.com
> > <mailto:swaters at triumphinstruments.com>> wrote:
> >
> > Good Day,
> > I have a Filepro question.
> >
> > I am trying to strip the decimal out of a number.
> > I have this written;
> >
> > cb(10,.0)=25
> >
> > 25 is (10,.2)
> >
> > if the number for field 25 is 880.88
> > I get 881 out for dummy cb
> > or if the number is 710.00 I get 710 instead of 71000
> >
> > How do you strip out a numbers decimal and stop the rounding and
> > dropping of
> > the 00
> >
> > Thanks in advance,
> > Steve
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > <mailto:Filepro-list at lists.celestial.com>
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Keith F. Weatherhead keithw at ddltd.com
>
> Discus Data, LTD Voice: (815) 237-8467
> 3465 S Carbon Hill Rd Fax: (815) 237-8641
> Braceville, IL 60407
>
> www.HVACmodel.COM - Equipment Capacity Search Facility
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20070914/8a0c9179/attachment-0001.html
More information about the Filepro-list
mailing list