ThIs are s0me basIc mathematic operatI0n for calculatI0n usIng OpmInI. ThIs trIck is damN Funny and it amaze me. == Just type the following codes to Opera Mini address bar. Replace A and B by any number you want. **Addition javascript:alert(a+b) == **Substraction javascript:alert(a-b) == **Multiplication javascript:alert(a*b) == **Division javascript:alert(a/b) == **i.e javascript:alert(2+2) == >Modules ie the remainder of the integer division of a by b == >javascript:alert(a%b) == Example br /> javascript:alert(6%4)=2 == *SINE javascript:alert(Math.sin(a)) == *C0SINE javascript:alert(Math.cos(a)) == *TANGENT javascript:alert(Math.tan(a)) == You can replace a by a number or by Math.PI == Example br /> javascript:alert(Math.cos (Math.PI))=-1 == *Square root of a javascript:alert(Math.sqrt(a)) == *Minimum/Maximum javascript:alert(Math.min(a,b,c,d)) javascript:alert(Math.max(a,b,c,d)) == *x power y javascript:alert(Math.pow(x,y)) == If you want, you can search Math Object element in javascript. === am ouT GBam=>
WARNING!!!: please dont copy This Tutorial to other sites, forums or blogs! If have to do so,put a link back to us PLEASE TAKE A MOMENT TO SHARE
0 comments:
Post a Comment