Results 1 to 2 of 2

Thread: Format

  1. #1
    Join Date
    Dec 1969

    Default Format

    what is the difference the following and which is the recommended way?<BR><BR>Format("{0:#}", rCS.CourtOrderAssessmentAmount.ToString)<BR>OR<BR> rCS.CourtOrderAssessmentAmount.ToString("0")

  2. #2

    Default RE: Format

    Do they have the same output?<BR><BR>One of them is cleaner and more compact.<BR><BR>Most of the String.Format stuff takes various types, so in the first case, the ToString() is redundant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts