File: number.xml

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (20 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8" ?>
<dt-type group="js">
	<name>number</name>
	<summary>Javascript `Number` type</summary>

	<description>
	<![CDATA[

Numbers in Javascript (both integers and floating point numbers) are stored in the `number` type.

A detailed description of the `Number` type is available on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number).


## Use in DataTables

Where a parameter is shown as accepting a number type, or a method returning a number type, it indicates that a numeric value is accepted / returned. We define a special type of `dt-type integer` as a sub-set of `number`s which accept only integer values. As such `number` types can be either integers or floating point numbers.

	]]>
	</description>
</dt-type>