Skip to main content

All Questions

Tagged with
1 vote
2 answers
49 views

Calculating the total value of an invoice with precision

I have written some functions to calculate the total cost of an invoice, gives its line items. Could someone please tell me if there seems to be a problem with the code? Since it is something as ...
Enrique Moreno Tent's user avatar
3 votes
2 answers
4k views

JavaScript interest rate calculator

As I am still new to web development, refactoring my code is still something that gives me some trouble. I would really appreciate it if someone could look over the Javascript for an interest rate ...
Eric R.'s user avatar
  • 33
1 vote
1 answer
250 views

Currency exchange app

I'm making a currency exchange app, it works as follows: User types in on desired currency input and the rest of the input fields change with state based on the currency value from the input used, I'...
ricardoNava's user avatar
3 votes
1 answer
1k views

My Basic Tax Calculator

The goal is: I can add many services as I need. I can add many taxes as I need (the idea is that services has all of this taxes) Calculate per services each tax value Sum all the taxes of each ...
Juansei's user avatar
  • 33
3 votes
0 answers
85 views

Calculating a snowballing investment

I'm currently taking a JavaScript class. I'm fairly familiar with JavaScript and coding in general, so I decided to teach myself functional programming on the side. It's been great, my teacher's fine ...
Ucenna's user avatar
  • 131
3 votes
1 answer
1k views

Getting currency data out of an array

I have a button dropdown that you can select different currencies from. When you select one, it replaces the button value with that currency type, and displays the currency symbol in a span in front ...
max's user avatar
  • 33
9 votes
5 answers
899 views

Prorated Refund Calculator (v2)

This is a follow-up question to original Prorated Refund Calculator. Here is the summary of the changes I made since last, thanks to the good answers and some study of my own. Did away with bleeding-...
Phrancis's user avatar
  • 20.4k
0 votes
1 answer
120 views

jQuery-loaded financial report taxes the browser

I load a table in a div using the .load() method. If I look on the console I see the times taken to display the table: 4.98 seconds that firebugs says are spent "...
Lelio Faieta's user avatar
0 votes
3 answers
3k views

JS/jQuery finance calculator

I am always surprised by JavaScript and how simple and elegant JS code can look. I have a piece of code below that simulates a finance calculator. Please share your thoughts, critiques/feedback on how ...
bg17aw's user avatar
  • 151
12 votes
2 answers
362 views

Prorated refund calculator

I wrote this little piece of script for my workplace (insurance, etc.) to help our admins, as a light and simple file I can just email to my colleagues. The purpose of it is to calculate a prorated ...
Phrancis's user avatar
  • 20.4k
3 votes
2 answers
2k views

Artificial Stock Market Algorithm

I'm attempting to make a stock trading game in Javascript and I've been trying to find an algorithm to generate fake stock prices. Currently, each Stock object has ...
mdc32's user avatar
  • 139
2 votes
2 answers
712 views

Determining the next payment renewal date

I am not very good a JavaScript, surely not date manipulation, but I hacked together the script below with the purpose to determine the next payment renewal date based on a start date and payment term....
Martijn Burger's user avatar
6 votes
4 answers
3k views

Australian income tax calculator

I'm looking for some feedback on my first Javascript app. I've built an app that calculates tax for Australian tax payers. Specific feedback on areas that could be object orientated and any errors I ...
andrew_b's user avatar
7 votes
2 answers
24k views

Bank account number validation in IBAN format

I wrote a JavaScript function for validating bank account numbers in IBAN format for my own joy. Could you have a look if you don't see any obvious mistakes or places for improvement? ...
Grzegorz Piwowarek's user avatar
4 votes
1 answer
523 views

Managing debit/credit accounts

I just want to know if there room for improvement or something I should redo to be better. ...
Matthew's user avatar
  • 281

15 30 50 per page