The parser still accepts the same string input, but its returned unit changes from dollars to cents. Downstream callers that multiply or display the result must change.
Read the full lesson
Sign up free: one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in