What are math operators in js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 36

What are math operators in js

Math operators

18th May 2019, 6:58 PM
Rapt[#Demure]
Rapt[#Demure] - avatar
13 Answers
18th May 2019, 7:28 PM
Denise Roßberg
Denise Roßberg - avatar
+ 10
+ - * / % etc.
19th May 2019, 9:49 PM
Sonic
Sonic - avatar
+ 6
+ plus - minus * multiplication / division Math.pow(n, m) power of a number like n*n*n m times Math.sqrt(m) Square root of a number
19th May 2019, 5:29 PM
CodeFu
CodeFu - avatar
+ 5
Also: ** exponentation operator % modulo operator
19th May 2019, 6:33 PM
Seb TheS
Seb TheS - avatar
+ 5
Mathematical operators are those whose operands are variables or numerical values, which correspond to the type of data in javascript on which mathematical operations can be performed. + Addition - Subtraction * Multiplication / Division % Modulus (division remainder) In addition, you can combine all these operators with the assignments to abbreviate code. For example: var num = 2; num += 3; // is 5 num *= 2; // is 10 num -= 3; // is 7 Tambien puede usar la API del core pra relaizar otras operaciones mediantes metodos. For example: Math.pow(2,3) is 8; You can see doc of javascript about MATH Object.
20th May 2019, 11:28 PM
Oliver Valiente Oliva
Oliver Valiente Oliva - avatar
+ 4
It is use to calculate simple and complex solutions
19th May 2019, 10:28 AM
Ahmad Muhammad
Ahmad Muhammad - avatar
+ 4
Good evening, Math operators are the same that we've dealt with at school: + Addition - Subtraction * Multiplication / Division % Modulus (division remainder) And there are another math operators you can google them, or follow the link below: https://www.w3schools.com/jsref/jsref_operators.asp
20th May 2019, 2:11 AM
Mohamed Oussama Chergui
Mohamed Oussama Chergui - avatar
+ 4
+ - * / %
20th May 2019, 5:40 PM
Najmuddin Ansari
Najmuddin Ansari - avatar
19th May 2019, 6:05 PM
Leo Tornato
Leo Tornato - avatar
20th May 2019, 1:49 PM
Saranya
Saranya - avatar
+ 2
+ for addition - for subtraction * for Multiplication / for division
19th May 2019, 11:11 AM
Karthik here
Karthik here - avatar
+ 2
they are almost same for every language..+ - * / ++ -- etc...
20th May 2019, 2:58 PM
irfan farook
irfan farook - avatar
0
its 4 kind of them
21st May 2019, 10:09 AM
Philip Purwoko
Philip Purwoko - avatar