Computer Applications

Write a statement each to perform the following task on a string:

Convert a number stored in a string variable x to double data type.

Java String Handling

ICSE 2011

35 Likes

Answer


double a = Double.parseDouble(x);

Answered By

24 Likes


Related Questions