00:00
00:00

## the NG Calculator

Denvish made a much better version about eight months too late. Go check it out over here:
http://www.newgrounds.com /portal/view/301005

Yay! Daily 5th Place!
Yay! Monthy 5th Place! Wait... How the hell did that happen?

Find out how much your account is worth.
Find out how much somebody else's account is worth.
Be sorely disappointed when you learn how little your account is worth.
Sell your accout on eBay and use the money for booze and porn.

The possibilities are endless with the NG Calculator!

Edit:
Included whistle + batting avg.
Weighed Audio + Flash submissions hihger.

Troubleshooting:
If you keep getting NaN, make sure you are filling in ALL the fields. If they don't apply to you, leave them as zero.
Remember to include the decimal in your Batting avg. It should 2.36, not 236.
BP referrs to TOTAL Blam and Protection points.

## Reviews

This is a fun gadget to check out every month to see how much you have gained. It can take a few tries to get it to work correctly. My account is currently worth \$ 2218.59 according to this game.

Considering i just started, 0.28 cents ain't bad. This thing is useful but it could a bit outdated by nowadays standards. That or i'm just pretty stupid. Overall, this thing is worth it.

GG 0.56 cents

By the way, if your results are returning a value of NaN, you need to remove things like commas from the equation. Commas in ActionScript are used for things like declaring a series of variables or creating an array, so when you type in a comma, it doesn't register as a string but rather you're telling the interpreter that a value like, say, "2,509" for your B/P score is actually two separate values; 2 and 509.

Scottmale24 didn't anticipate this and didn't optimize his code to accept commas as a string, only as raw script input, which means commas are taken as code by the interpreter. Had he programmed it to take string data rather than raw numbers, that would allow him to convert the string back into a numeric value while removing string values like letters and punctuation marks so the raw number data could be plugged back into the calculator without error.

When an SWF file returns a value of NaN, you've probably entered a value that the interpreter doesn't understand or you've accidentally entered in actual ActionScript code that undermines the program's design. You can actually cause Flash to redefine variable datatypes by giving it inappropriate values like letters, which will cause Flash to redefine a mathematical variable to a string. This is because Flash is capable of accepting what's called "implicit programming", where if a variable is left undefined in datatype and you plug in a value, the interpreter will attempt to fill in the blanks and assign a datatype for you.

Well awesome im worth \$5.68 nice

Views
311,331
Faves:
706