471,092 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

broblem with add, for example 1+2 is not 12

Hello,

maybe someone can help me? When I try to work this script,
"ges_auktion_preis" + "ges_post_preis" = they hang one behind the other.

for example:

<script language="JavaScript">
<!-- rechnet die Gesamtsumme aus
function gesamtBetrag(ges_auktions_preis, ges_post_preis)
{
var Ergebnis = (ges_auktions_preis + ges_post_preis); // The problem,
if there is 10 + 20 =1020
return Ergebnis;
}

function schreibe_gesamt(ges_auktions_preis, ges_post_preis)
{
var Wert3;
Wert3 = gesamtBetrag(ges_auktions_preis, ges_post_preis);
document.rechenform.gesamt.value = Wert3;
}
//-->
</script>

Please help

M. Behner
Jul 20 '05 #1
1 1331

"Moritz Behner" <mo***********@t-online.de> schreef in bericht
news:bm*************@news.t-online.com...
Hello,

maybe someone can help me? When I try to work this script,
"ges_auktion_preis" + "ges_post_preis" = they hang one behind the other.


http://jibbering.com/faq/#FAQ4_21
JW

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Michael Foord | last post: by
6 posts views Thread by Ville Vainio | last post: by
5 posts views Thread by relaxedrob | last post: by
8 posts views Thread by Scott M. | last post: by
25 posts views Thread by meltedown | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.