# Multiplication Tricks for all Digits

#### by Francis 2012-11-23 11:51:44

Multiplication Tricks for all Digits

Rules
Condition 1 : Take two number and separate the unit digit from that numbers respectively. The result must be Equal. Example : 24 and 28, 24 - 4 = 0 and 28 - 8 = 20 , Then result is 20 = 20.
Condition 2 : Take any one of the number and add another number unit digit value. Example : 28 + 4 = 32.
Condition 3 : Condition 2 result Multiply by condition 1 result. Example : 32 * 20 = 640.
Condition 4 : Multiply two unit digit value. Example : 4 * 8 = 32.
Condition 5 : Add Condition 3 and Condition 4 result. Example : 640 + 32 = 672.

Programming Code

<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"> </script>
<script type="text/javascript">
function multiply()
{
var num1 = parseFloat(\$("#num1").val());
var num2 = parseFloat(\$("#num2").val());

var a = num1 % 10;
var b = num2 % 10;
var c = num1 - a;
var d = num2 - b;

if(c==d)
{
var added = num1 + b; // (or) added = num2 + a;
var res1 = (added * c) + (a * b)
\$("#res1").val(res1);
}
else
{
\$("#res1").val("");
}
}
</script>

Number 1 : <input type=text id=num1> <br>
Number 2 : <input type=text id=num2> <br>
<input type=button value=calculate onclick=multiply()> <br>
Result : <input type=text id=res1 readonly>

Example for three Digit Number

124 * 125
a = 124 % 10 = 4
b = 125 % 10 = 5
c = 124 - 4 = 120
d = 125 - 4 = 120

Condition 1 True (120=120)
Condition 2 : One number (125) + another number unit value (4) = 129.
Condition 3 : 129 * 120 = 15480.
Condition 4 : Unit digits multiplication (4 * 5) = 20.
Condition 5 : 15480 + 20 = 15500

1045
0
0