DataHelperConvertValueToDefaultCulture Method |
Converts value to its equivalent string representation using default culture format. Can be used to convert Double, Decimal, DateTime or TimeSpan values.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string ConvertValueToDefaultCulture(
string value,
Type type
)
Parameters
- value
- Type: SystemString
Value to convert - type
- Type: SystemType
Type of converted value
Return Value
Type:
StringSee Also