QuestionQ117

VerifiedVariables and Arguments

A developer has stored the value "25.11" in a String variable named "InvoiceTotal". Which expression should be used to convert "InvoiceTotal" into a numeric format while retaining the decimal values?

Explanation

Double.Parse converts a string representation of a number into a double-precision floating-point value, preserving the fractional component such as .11.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!