An arithmetic operator is a mathematical function that takes numerical values as their operands and return a single numerical value. The Blogger arithmetic operators are addition +, subtraction -, multiplication *, division / and modulo %. Also plus operator + is Concatenate operator that can joint two expression.

Blogger Arithmetic Operator List and Syntax

Operator Meaning Default syntax
+ Addition number + number
- Substraction number - number
* Multiplication number * number
/ Division number / number
% Modulo number % number

The Arithmetic operator always return number as result. When used in Blogger expression, it only work for expression type number, as example data:post.length this is because Arithmetic operation only accept number.

Other operators

Share This

Creative Commons License
Blogger Book is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.