Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
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: String
See Also