Calcul sur asp

sheriff76 Messages postés 4 Date d'inscription jeudi 1 avril 2004 Statut Membre Dernière intervention 13 mai 2004 - 13 mai 2004 à 19:23
cs_Bud Messages postés 224 Date d'inscription vendredi 14 septembre 2001 Statut Membre Dernière intervention 14 juillet 2006 - 14 mai 2004 à 08:56
Bonjour les gars

J'ai ENTREE=<%=RsENTREE("VALENTREE")%>
et SORTIE=<%=RsSORTIE("VALSORTIE")%>
Maintenant je fais le calcul :
<% Benefice=(ENTREE-SORTIE)%>
Mais le probleme c'est que je trouve toujours benefice = 0 alors que SORTIE <> ENTREE
Si vous avez une solution à ce problème c'est la bienvenue.Merci d'avance
Take it easy

1 réponse

cs_Bud Messages postés 224 Date d'inscription vendredi 14 septembre 2001 Statut Membre Dernière intervention 14 juillet 2006
14 mai 2004 à 08:56
Essaye
<%
ENTREE=RsENTREE("VALENTREE")
SORTIE=RsSORTIE("VALSORTIE")
Benefice=(ENTREE-SORTIE)
%>
0
Rejoignez-nous