number

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > String Functions >

number

Computes the number representation of the string, i.e. converts the string supplied as argument into a number.

 

Signature

number(string:string) -> number

 

Parameters

Name

Type

Description

string

string

The input string value to convert.

 

Examples

The following expression converts the string value "1" into the numeric value 1:

 

number('1')


© 2019 Altova GmbH