Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency format
Message
From
06/04/2007 16:39:06
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01212654
Message ID:
01213087
Views:
16
>>Why does the Currency field type carry 4 decimals, and if it is used in a form textbox or report control, how should it be formatted so it only displays 2 decimals?
>>
>>Seems like a bother to me. Why not just use N(10,2)?
>
>I think it only displays 2 decimals anyway. Also nothing prevents you from using NUMERIC for monetary values.
>
>You can also look at SET DECIMALS command.

That's what I've been doing. If the fieldtype is Currency it shows 4 decimals in the textbox and any report fields. Then you have to deal with special formatting parameters to show only 2 decimals.
Previous
Reply
Map
View

Click here to load this message in the networking platform