Preserving number formatting in a concatenation

I have a [Decimal] column, configured to have 1 integer and 1 decimal, so it always shows as X.X (like 5.0 or 0.5).

I also have a [Concatenation] Virtual Column that merges this [Decimal] and other values in a text string.

Problem is that in the concatenation, the decimal defaults to the standard formatting, showing no decimal places if itโ€™s a whole number.

I thought of writing something like IF(FLOOR([Decimal])=[Decimal],[Decimal]&".0",[Decimal]), but it seems a bit inelegant and overly specific.

Is there a better way?

Solved Solved
0 6 2,578
1 ACCEPTED SOLUTION

Wrap that decimal column with the TEXT expression.

View solution in original post

6 REPLIES 6