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

In this article I will explain floor operation of number function.
  • 2274

Introduction

Floor function is one of the function of Number Function in XPath. This function is used to returns the largest integer that is not greater than the argument.

Syntax

number floor (number)

Example

floor(3.5)
floor(-5.2)
floor(3)
floor(123.8)

Output

3
-6
3
123

Ask Your Question 

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

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.