STR

How convert numeric datatype to string by STR function?

How convert numeric datatype to string by STR function? For convert numeric datatype to string T-SQL provides STR function. ... o is added as fifth char. Befor string is added spaces – 3 chars. SELECT '='+STR(12.8734223344566,20,13)+'=' as stringdata ;