Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Como hacer que la condición (Format) sea dinámica
Message
From
10/10/2003 02:27:35
 
 
To
09/10/2003 22:30:21
Firmo Lopez
Santa Rita Investmets Inc
Boca Raton, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00837223
Message ID:
00837271
Views:
39
Me imagino que es una version de prueba... pero me surgiò una duda, para que es la siguiente linea?
m.nDigits = 16 - 4
Digo, podria haber sido asignada directamente a 12, no?
LPARAMETERS nCurrency

LOCAL cMask, nDigits, nDecimals

m.nDigits = 16 - 4
m.nDecimals = SET('DECIMALS')
m.cMask = RIGHT('$$$,$$$,$$$,$$$,$$$,$$$', m.nDigits) + ;
          IIF(m.nDecimals > 0, '.' + REPLICATE('9', m.nDecimals), '')

RETURN TRANSFORM(ROUND(m.nCurrency,m.nDecimals), m.cMask)
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform