Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From dollars ($) to Euro
Message
De
09/09/2014 09:02:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/09/2014 16:51:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01607194
Message ID:
01607211
Vues:
80
>My app is made to work with $
>
>I will have to update it so it can work with $ and also Euro. Any tips so I don't suffer too much on this ;-)
>
>What is the character for Euro that I can use to replace $?

For the data structures, I would suggest an amount field, and a field for the currency. That way, you can easily expand to more currencies later. Ideally, the currency field would be a foreign key to a currency table.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform