TIP: Click on subject to list as thread! ANSI
echo: foxpro
to: BRIAN COPELAND
from: GERRY DANEN
date: 1997-04-23 20:35:00
subject: FoxPro 2.5 Win transform(

 GD>I've got the strangest thing happening in FP2.5 for Windows.
 GD>Try this little program:
 GD>        amt = 8999.98
 GD>        ? transform(amt, '999,999.99')
 GD>and I get this result:
 GD>        9,000.00
 GD>Can anyone confirm this?  Is this a known bug?  The transform()
 GD>function started going strange about April 3rd of this year.  Could
 GD>this be a date- related thing?
 BC> It works properly on my machines - result = 8,999.98
I found out what the problem was...the decimals were not set to 2 in the
"international" section of the control panel...
Gerry Danen
      gdanen@accessweb.com
      CompuServe: 102736,3352
... My memory is fine, just my recall don't work so good.
--- Maximus 3.01
---------------
* Origin: C+Net BBS. Programming & Networking. (1:342/1017)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.