FnMFFloatToString

Signature

dbo.FnMFFloatToString(
    @FloatNumber FLOAT
)

Returns

  • NVARCHAR: the float value converted to a string.

Parameters

  • @FloatNumber FLOAT (required) - The numeric value to convert.

Purpose

Convert a floating-point value to a string representation.

Examples

DECLARE @floatNumber FLOAT = 12345.6789;
DECLARE @FloatString VARCHAR(4000);
SET @FloatString = dbo.FnMFFloatToString(@floatNumber);
SELECT @FloatString AS FloatAsString;

Changelog

Date

Author

Description

2026-07-30

AC

Removed 34 literal U+FFFD REPLACEMENT CHARACTER bytes used as corrupted indentation inside the live SELECT that sets @culture. They sat immediately before the ELSE/FROM/WHERE keywords and broke T-SQL parsing, so every install of the 5.13.38.82 bundle failed at this function. Whitespace-only removal - no behaviour change. Surfaced by 5.13.38.82 Stage 40 Test 2 attempt #2.

2024-11-12

LC

Initial Version