मराठी

Write a statement to perform the following task on a string: Convert a number stored in a string variable x to double data type. - Computer Applications

Advertisements
Advertisements

प्रश्न

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

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

कोड लेखन

उत्तर

double p = Double.parseDouble(x); 
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: String Handling - EXERCISES [पृष्ठ २८९]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 4 String Handling
EXERCISES | Q VII. 4. (ii) | पृष्ठ २८९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×