Microsoft SDK for Java

Value.parseNumber

Converts a string to a number.

Syntax

public static double parseNumber( String value )

Parameters

value

The string containing a numeric value.

Return Value

Returns a double value that represents the string.

Exceptions

WFCInvalidArgumentException thrown if the value parameter is null or if the string cannot be interpreted as a number.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.