How to use ceiling operation in Number Function Using XPath in Xml

In this article I will explain ceiling operation of number function.
  • 1983

Introduction

Ceiling function is one of the function of Number Function in XPath. This function is used to returns the smallest integer that is not less than the argument.

Syntax

number ceiling (number)

Example

ceiling(3.5)
ceiling(-5.2)
ceiling(3)
ceiling(123.8)

Output

4
-5
3
124

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.