UomMeasureTGetPrecisionFormat Method |
Returns a string representation of given decimal precision,
preceded by an arbitrary placeholder. Default placeholder is #.
Namespace: FDF.CommonAssembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax public static string GetPrecisionFormat(
int precision,
string prefix = "#"
)
Public Shared Function GetPrecisionFormat (
precision As Integer,
Optional prefix As String = "#"
) As String
public:
static String^ GetPrecisionFormat(
int precision,
String^ prefix = L"#"
)
static member GetPrecisionFormat :
precision : int *
?prefix : string
(* Defaults:
let _prefix = defaultArg prefix "#"
*)
-> string
Parameters
- precision
- Type: SystemInt32
- prefix (Optional)
- Type: SystemString
Return Value
Type:
StringRemarks See Also