By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,963 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,963 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a

"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.