• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

Display values in current culture

Audience:
api
Some tooltip text!
• Less than 1 minute to read
 • Less than 1 minute to read

The CultureDataFormatter handles conversion to and from the neutral format. This class is strictly not part of the DCF, since it lives in the SoCore assembly.

using SuperOffice.CRM.Globalization;

string encoded = "[I:12345]";
string localized = CultureDataFormatter.LocalizeEncoded( encoded );
// localized = "12345"

Floating point:

using SuperOffice.CRM.Globalization;

string encoded = "[D:1234.5]";
string localized = CultureDataFormatter.LocalizeEncoded( encoded );
// localized = "1234,5" 
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top