What language should I use for an online calculator?

irideflatland

New member
Dec 23, 2008
369
2
0
I want to add a calorie/weight calculator to one of my pages but I'm not sure which language to use. It only needs to do super simple calculations (subtract, divide, multiply).
I took a VB class this spring, and our final project was to make a copy of the Windows calculator. So I know how to code that, but we always made Windows Forms Applications and I don't know how I could transfer that to my website.

So is there an easy way to do it in VB since I already know how to code in that language, or should I pick a different language to code it in?
 


I want to add a calorie/weight calculator to one of my pages but I'm not sure which language to use. It only needs to do super simple calculations (subtract, divide, multiply).
I took a VB class this spring, and our final project was to make a copy of the Windows calculator. So I know how to code that, but we always made Windows Forms Applications and I don't know how I could transfer that to my website.

So is there an easy way to do it in VB since I already know how to code in that language, or should I pick a different language to code it in?

A simple JavaScript calculator
 
If you know VB, then you can download the Microsoft Visual Web Developer Express software for free (now based on visual studio 2010) which includes vb.net support. Of course, then you'll likely need to run on a windows host. It's a fairly straight forward learning curve for moving from windows to web forms.

Best of luck.
 
If you use VB (I assume you mean ASP.NET + VB), then your web server needs to handle the load. Use javascript and hand the processing load off to the client.

Like somebody already said: hire somebody off of E-lance. It's gotta be a $50 or less project.
 
It depends on how you want the calculator to work. If you want to interaction with the server, you would go with javascript. Otherwise, you can pick a server language to use like php, ruby, python or many others. Both are great ways to program a calculator, just depending on what type of interactions you want.