# XPath Number Operators and Functions

## XPath Number Operators

A list of number operators that are used with XPath expressions:

Operator | Description |
---|---|

`+` | It is used for addition operation. |

`-` | It is used for subtraction operation. |

`*` | It is used for multiplication operation. |

`div` | It is used for division operation. |

`mod` | It is used for modulo operation |

## XPath Number Functions

A list of functions on numbers that are used with XPath expressions:

Function | Description |
---|---|

`ceiling()` | It is used to return the smallest integer larger than the value provided. |

`floor()` | It is used to return the largest integer smaller than the value provided. |

`round()` | It is used to return the rounded value to nearest integer. |

`sum()` | It is used to return the sum of two numbers. |