How to display round numbers

0
Hi there. I want to display numbers stored as Integer/Long type as round numbers using a document template. Is there a way to display round numbers? Thanks in advance. BR Kazuki Abe
asked
3 answers
0

You can use Format string widget at the frontend to add decimal digits to an integer.

answered
0

Hi Abe, 

You can simply apply these styles to the attribute field in your document template

 border-radius: 100px;
 border: 1px solid black;
 text-align : center;
 width: 20px;
 height: 20px; 

The output will look like below

answered
0

Stella san,

Thanks for your comment.

I tried to copy it into a style with the attribute No and output it, but I got an error as shown in the image.
What is wrong?

answered