Stop the rounding
scooter6 at gmail.com
scooter6 at gmail.com
Fri Sep 14 11:09:43 PDT 2007
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> 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
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20070914/8958c0d9/attachment-0001.html
More information about the Filepro-list
mailing list