Hacker News new | ask | show | jobs
by DonHopkins 3105 days ago
jQuery certainly did a commendable job of lowering the bar for web developers!

So low that many people thought of jQuery as a way to avoid learning JavaScript. (Not that there's anything wrong with that, mind you.)

That's why there's such a huge demand for a free jQuery plugin that can add, subtract, multiply, divide and compare numbers.

http://www.doxdesk.com/img/updates/20091116-so-large.gif

"-1 not enough jQuery"

https://github.com/cbrandolino/jQuery-basic-arithmetic-plugi...

jQuery basic arithmetic plugin

$.add(arg1, arg2 [, args...]) adds two or more numbers;

$.subtract(arg1, arg2 [, args...]) subtracts two or more numbers, the leftmost being the first operand;

$.multiply(arg1, arg2 [, args...]) multiplies two or more numbers;

$.divide(arg1, arg2 [, args...]) divides two or more numbers, the leftmost being the first operand;

$.equals(arg1, arg2 [, args...]) checks two or more numbers for equality.