Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Diff. between Numeric with precision, Currency and Doubl
Message
 
To
12/06/2003 09:36:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00798235
Message ID:
00799368
Views:
42
>I think it is convenient to base the relevant textboxes on a class, with a property for the number
of decimals. The number of decimals can be loaded from user preferences on Init(), and the InputMask changed accordingly.

Actually I do something already like that though this is on currency. I have textbox class for currencies which I have put it in the tools option, so whenever I pull in a currency field onto a form this class is used and I have this class read the inputmask from the ini file for Qty, Rate and Amt based on the comment, which I generally have in the tables.


Are currency in actual world and economics sense use 8 decimals in some cases? Any ideas.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform