Stop the rounding

Keith Weatherhead keithw at Discusdataltd.net
Fri Sep 14 11:47:42 PDT 2007


Actually upon re-reading, if you want all the digits, without 
rounding and no decimal points, how about....

cb(10,.0) = 25 * "100"  ???

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
- - - - - - - - - - - - - - - - - - - - - - - - - - - -




More information about the Filepro-list mailing list