/    Sign up×
Community /Pin to ProfileBookmark

Creating Budget getting wrong result…

Okay, everyone I need help figure out what I am doing wrong on the budget page. I need to get a result in numbers but, I am getting NAN as a result. I don’t know why or how to correct. Please advise. Thank you for your help! ?

[url]http://www.moneymagnetinc.com/123.html[/url]

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Jun 23.2007 — form.Hidden.value is returning undefined in e

Eric
Copy linkTweet thisAlerts:
@denise1authorJun 23.2007 — How do I correct it?
Copy linkTweet thisAlerts:
@A1ien51Jun 23.2007 — If you look at it, there are three fields named Hidden. I really do not think they all should be named that.

Eric
Copy linkTweet thisAlerts:
@rootJun 23.2007 — form input boxes return string values, they need to be numerical, subtract zero from the strings to return a numerical value of the string number...

var a='7'; // a is a string character 7

var b=a-0; // b is now a numeric 7

NAN is 'Not A Number' in english that means that it is a string...
Copy linkTweet thisAlerts:
@denise1authorJun 25.2007 — Thanks.. I will correct.
×

Success!

Help @denise1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...