Overload List
Overload 1: function SampleToStr(const X: Double): string;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double |
Returns: String
Overload 2: function SampleToStr(const X: Double; const Digits: Integer; Precision: Integer): string;
Converts TSample value to a string.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | |
| 2 | Digits | Integer | |
| 3 | Precision | Integer |
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: function SampleToStrf(const X: Single): string;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single |
Returns: String
Overload 4: function SampleToStrf(const X: Single; const Digits: Integer; Precision: Integer): string;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | |
| 2 | Digits | Integer | |
| 3 | Precision | Integer |
Returns: String