String.valueOfDouble()

Signature

String valueOfDouble (double d)

Domain

action, condition

Description

Returns a String representation of the double passed in.

Parameters

NameTypeDescription
ddoubleA double to get the value of (convert to String).

Returns

TypeDescription
StringA String representation of the double passed in.

Cautions

none

Example


String result = String.valueOfDouble (3.14159);

Result is:
result contains: "3.14159"