About 867,000 results
Open links in new tab
  1. JavaScript Arithmetic - W3Schools

    Arithmetic operators perform arithmetic on numbers (literals or variables). A typical arithmetic operation operates on two numbers. The two numbers can be literals: or variables: or expressions: The numbers (in an arithmetic operation) are called operands. The operation (to be performed between the two operands) is defined by an operator.

  2. HTML5 | Mathematical operators - GeeksforGeeks

    Dec 3, 2018 · Mathematical Operators are used for representation of mathematical and technical operators. In HTML5 some special codes are used. For the representation of these operators we can use the name or hexadecimal(Hex) reference. Examples: Input : &minus or &#8722 Output : - Input : &times or &#215 Output : x Input : &frac34 or &#190 Output : 3/4

  3. JavaScript Arithmetic Operators - GeeksforGeeks

    Nov 22, 2024 · JavaScript Arithmetic Operators are the operator that operate upon the numerical values and return a numerical value. The addition operator takes two numerical operands and gives their numerical sum. It also concatenates two strings or numbers. The subtraction operator gives the difference between two operands in the form of numerical value.

  4. Basic math in JavaScript — numbers and operators

    Apr 11, 2025 · At this point in the course, we discuss math in JavaScript — how we can use operators and other features to successfully manipulate numbers to do our bidding. An understanding of HTML and the fundamentals of CSS. Basic number operations in JavaScript — add, subtract, multiply, and divide.

  5. JavaScript Operators Reference - W3Schools

    Arithmetic operators are used to perform arithmetic between variables and/or values. Given that y = 5, the table below explains the arithmetic operators: For a tutorial about arithmetic operators, read our JavaScript Arithmetic Tutorial. Assignment operators are used to assign values to JavaScript variables.

  6. JavaScript arithmetic operators - w3resource

    Aug 19, 2022 · In JavaScript, arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value. There are four standard arithmetic operators, addition (+), subtraction (-), multiplication (*), and division (/).

  7. JavaScript Arithmetic Operators - Tutorial Gateway

    The JavaScript Arithmetic Operators include operators like Addition, Subtraction, Multiplication, Division, and Modulus. All these operators are binary operators, which means they operate on two operands. The below table shows the Arithmetic Operators with examples.

  8. Perform Arithmetic Operations in JavaScript | LabEx

    In this lab, participants will explore the fundamental arithmetic operations in JavaScript, learning how to manipulate numbers using various mathematical operators.

  9. Basic Math and Arithmetic Operations | Learn JavaScript

    This post will cover the basic math and arithmetic operations you can perform in JavaScript, including various operators, their usage, and code examples to illustrate their functions.

  10. Using Operators - Educative

    Arithmetic operators perform mathematical calculations. These are as follows: In the above code: Line 1: Variables a and b are initialized. Line 2: The + operator adds a and b. Line 3: The - operator subtracts b from a. Line ... Learn about JavaScript operators used to perform operations on variables and values.

  11. Some results have been removed