 | CSTRIFormatR2 Method (Double, String, Int32, Int32, Int32) |
Convert a GX real to a string with given decimals.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IFormatR2(
double real,
ref string buff,
int size,
int width,
int sig
)
public static void IFormatR2(
double real,
ref string buff,
int size,
int width,
int sig
)
Public Shared Sub IFormatR2 (
real As Double,
ByRef buff As String,
size As Integer,
width As Integer,
sig As Integer
)
Public Shared Sub IFormatR2 (
real As Double,
ByRef buff As String,
size As Integer,
width As Integer,
sig As Integer
)
public:
static void IFormatR2(
double real,
String^% buff,
int size,
int width,
int sig
)
public:
static void IFormatR2(
double real,
String^% buff,
int size,
int width,
int sig
)
static member IFormatR2 :
real : float *
buff : string byref *
size : int *
width : int *
sig : int -> unit
static member IFormatR2 :
real : float *
buff : string byref *
size : int *
width : int *
sig : int -> unit
Parameters
- real
- Type: SystemDouble
Value to format - buff
- Type: SystemString
Resulting string - size
- Type: SystemInt32
Size of the Resulting String - width
- Type: SystemInt32
Width of the field - sig
- Type: SystemInt32
Decimals
See Also