Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does currency show 4 decimals

Status
Not open for further replies.

SBTBILL

Programmer
May 1, 2000
515
US
Have a customer who is trying to shortcut a conversion from Foxpro 2.6 to VFP 7. He is asking me why he gets 4 decimal places on his reports. I think he knows about things like 99999.99 etc. What he wants is a global approach.

Since this could make me some money am looking for an answer. Anybody have any ideas.

Bill Couture
Save Jobs support Spam.
 
SET DECIMALS TO
SET DECIMALS is scoped to the current data session.

where is my cut? Attitude is Everything
 
May not be much what % would you like?

Bill Couture
 
Hi Danceman,

Turns out your answer was a near miss Set Decimals say shows the minimum number and defaults to 2. But it references SET FIXED ON/OFF - Default OFF. If I set that on the display seems to be right.

Bill Couture
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top