Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Padr/transform in ASP
Message
De
30/05/2007 17:50:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Padr/transform in ASP
Divers
Thread ID:
01229460
Message ID:
01229460
Vues:
57
I'm writing an .asp application using VFP tables. One table has a field "Price" which is defined as N(10,2). When the records are selected and displayed via

response.write(oDatarecord("Price"))

the result does not include the zero value decimals. Thus 1.00 becomes 1 and 1.20 becomes 1.2. So my question is:

Is there a function similar to VFP's transform or padr that would force the zero decimals to display? I apologize if this is too far off topic for this list but I don't know where else to turn.

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform