Format Decimal to String

I have a number decimal: 12.123. I want to format this number to string: 12,123, because my date need to save field string like this. Please help me!

Try this.

(Decimal is a variable)

decimal := 123.13 ;
message(convertstr(format(decimal),’.’,’,’));