How can I format numbers in structure's column when column type is a 'wiki markup'?

Степан_Сычёв September 3, 2019

I want to format number like '0.00', but only thing I can - round it :(

For example (looks good)

image.png

It looks bad if the number without fraction. No format.

image.png

 

How can I format number when I convert it into text?

2 answers

1 accepted

1 vote
Answer accepted
Egor Tasa [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 10, 2019

Hi Stepan,

Currently, wiki-markup does not have an option for formatting a number, and I will share this suggestion with our product team. In the meantime, as a workaround you can modify the formula the following way:

with number=12.1 :

CONCAT('('; ROUND(number, 2); IF(number=ROUND(number,2), ".00", number=ROUND(number,1),"0");'(!))')

Sorry for the inconvenience.

Regards,
Egor Tasa

[ALM Works]

Степан_Сычёв September 12, 2019

Thank you )

Not all we are waiting, but we deserve to :)

1 vote
Thomas Fischinger October 12, 2021

I didn't get it. If I have a calculated column, how do I get it into a currency formatting?

 

IF type= "Project" :

effort intern * 800 +  effort extern * 1000

 

This gives me a number like 100000, but I would prefer a format like 100 000 € or €100 000 or any other currency formatting.

 

Regards,

Thomas

Suggest an answer

Log in or Sign up to answer