Madhu1
Novice

Issues with decimal type

Hi All,

 

I have a requirement by which a field should be displayed as below 

2 should be saved as 2 itself but 1.2 should be saved as 1.2000000. I have defined the field as decimal and modified the field to acvcept 7 decimal places but 1.2 is getting saved as 1.2 not as 1.2000000.  Is there anyway to achieve this?

 

Regards,

Madhu 

0 Kudos
Reply
1 Reply
Perc
Novice

Re: Issues with decimal type

Hi Madhu, 


 


Thank you for your post. This can be done within the K2 designer. If you click on the text box and then hover over properties then and then further under general, styles this should open the style builder. Once in here on the format option you should be able to set the decimal places as you would like. 


 


Do let me know if this is how you have it set up. I have attached an example here as well. 


 


7048i90F4CD0375C15077.png


7049iF6356691B52EC55B.png


 


Kind regards, 


 


Percy


decimal_places_configuration_3247.png
0 Kudos
Reply