You are here: Symbol Reference > Math387 Namespace > Functions > Math387.SampleToStr Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.SampleToStr Function

Converts TSample value to a string.

Pascal
function SampleToStr(const X: double; const Digits: integer; Precision: integer = 15): string; overload;

TSample value, converted to string.

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!