Lines Matching refs:num
9 $num = new BcMath\Number(100);
10 $num_old = $num;
11 $num += 100;
12 echo $num . "\n";
13 $num += '50';
14 echo $num . "\n";
15 $num += (new BcMath\Number(30));
16 echo $num . "\n";
21 $num = new BcMath\Number(100);
22 $num_old = $num;
23 $num -= 100;
24 echo $num . "\n";
25 $num -= '50';
26 echo $num . "\n";
27 $num -= (new BcMath\Number(30));
28 echo $num . "\n";
33 $num = new BcMath\Number(100);
34 $num_old = $num;
35 $num *= 100;
36 echo $num . "\n";
37 $num *= '50';
38 echo $num . "\n";
39 $num *= (new BcMath\Number(30));
40 echo $num . "\n";
45 $num = new BcMath\Number(100);
46 $num_old = $num;
47 $num /= 100;
48 echo $num . "\n";
49 $num /= '50';
50 echo $num . "\n";
51 $num /= (new BcMath\Number(30));
52 echo $num . "\n";
57 $num = new BcMath\Number(1000);
58 $num_old = $num;
59 $num %= 90;
60 echo $num . "\n";
61 $num %= '30';
62 echo $num . "\n";
63 $num %= (new BcMath\Number(6));
64 echo $num . "\n";
69 $num = new BcMath\Number(10);
70 $num_old = $num;
71 $num **= 2;
72 echo $num . "\n";
73 $num **= '3';
74 echo $num . "\n";
75 $num **= (new BcMath\Number(0));
76 echo $num . "\n";