Author: Ted Roche
Posted: 2017-08-02 at 09:10:38
On Sun, Jul 30, 2017 at 6:38 PM, Gene Wirchenko <genew@telus.net> wrote:
> Hello:
>
> I have just been bitten by SET DECIMALS. (Is there really any use for
> this besides making programming just a bit more difficult?)
>
> I have a table with values to four decimal places. I use
> <vfp>
> transform(thevalue,"999999.9999")
> </vfp>
> to create the string representation.
If you use STR(thevalue,11,4), you should get the result you want.
--
Ted Roche
Ted Roche & Associates, LLC
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4vQTWXYe_H0Z7h+3xH_Vpt4erSNr=GmchKCS-X7t-DMBg@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.