Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.ConvertFloatToString Method

Converts a floating-point number to a compact decimal string suitable for PDF stream output.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function ConvertFloatToString(AValue: Extended): String;
System::UnicodeString __fastcall ConvertFloatToString(System::Extended AValue);

Parameters

Name Description
AValue Value to convert.

Returns

Compact decimal string with trailing zeros removed.