EXSLT - math:abs - Version 1

Version: 1
Status: implemented
User Page: index.html
XML Definition: math.abs.xml
Function Package: math.abs.zip

Function Syntax

number math:abs(number)

The math:abs function returns the absolute value of a number.

An implementation of this extension function in the EXSLT math namespace must conform to the behaviour described in this document.

Implementations

Built-in support for math:abs is available in the following XSLT processors:

ProcessorProcessor VersionImplemented Version
4XSLT, from 4Suite.0.12.0a31
libxslt from Daniel Veillard et al.1.0.191

The following implementations of math:abs are available:

LanguageImplemented VersionCreatorDateDownload
Javascript1James Fuller2001-06-16math.abs.js
Msxsl1James Fuller2001-06-16math.abs.msxsl.xsl

Change History

Submitted: 2001-06-16
Creator: James Fuller(http://www.ruminate.co.uk)

Returns the absolute value of the passed argument.
VersionModifiedByDetails
1.12002-08-21Craig Stewart

Added 4XSLT and libxslt implementation to the list.

1.22002-11-12Craig Stewart

Updated 4XSLT version to 0.12.0a3.

http://www.exslt.org/math/functions/abs/math.abs.1.html last modified 2002-11-12