Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in PADL command?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug in PADL command?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01126320
Message ID:
01126320
Views:
69
Hi everybody,

yAmount is a currency field.

PADL(yAmount,9,'0') returns an empty string.
PADL(CAST(yAmount as Numeric (9,2)),9,'0') returns the result correctly.

Looks like a bug to me.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform