Hello World, This is My First PHP Website

Welcome SAKTHI , B.B.I.S, B.E.

Arithmetic Implementation in PHP

Calculation results with PHP

The result 1 + 1 is 2
The result 5 - 2.5 is 2.5
The result 5 * 5 is 25
The result 8 / 2 is 4
The result 10 mod 6 is 4

Type of data type resulting from the calculation above

The data type of 1 + 1 is int(2)
The data type of 5 - 2.5 is float(2.5)
The data type of 5 * 5 is int(25)
The data type of 8 / 2 is int(4)
The data type of 10 mod 6 is int(4)

Click to Go to the Next Page