Overload List
| # | Signature | Description |
|---|---|---|
| 1 | String SampleToStr(Double X) | |
| 2 | String SampleToStr(Double X, Int32 Digits, Int32 Precision) | Converts TSample value to a string. |
| 3 | String SampleToStrf(Single X) | |
| 4 | String SampleToStrf(Single X, Int32 Digits, Int32 Precision) |
Overload 1: String SampleToStr(Double X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | scalar |
Returns: String
Overload 2: String SampleToStr(Double X, Int32 Digits, Int32 Precision)
Converts TSample value to a string.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | scalar |
| 2 | Digits | Int32 | |
| 3 | Precision | Int32 |
Returns: String - TSample value, converted to string.
Remarks:
The Digits parameter controls the minimum number of zeros in the exponent (between 0 and 4). The Precision parameter controls the number of significant digints in string representation of TSample value.
See Also: Math387.StrToSample
Overload 3: String SampleToStrf(Single X)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | scalar |
Returns: String
Overload 4: String SampleToStrf(Single X, Int32 Digits, Int32 Precision)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | scalar |
| 2 | Digits | Int32 | |
| 3 | Precision | Int32 |
Returns: String