Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

Available for Java, C#, C++, and the Built-in execution engine.

fn-parseNumber

Converts an input string into a decimal number.

 

Argument

Description

value

The string to be parsed/converted to a number

format

A format string that identifies the way in which the number is currently formatted (optional). Default is "#,##0.#"

decimal-point-character

The character to be used as the decimal point character. Default is the '.' character (optional)

grouping-separator

The separator/delimiter used to separate groups of numbers. Default is the "," character (optional)

 

The format string used in parse-number is the same as that used in format-number.

 

Example in MapForce:

 

fn-parseNumber2

 

Result:

 

fn-parseNumber3

© 2019 Altova GmbH