Issues with decimal type

  • 10 December 2018
  • 1 reply
  • 1 view

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 


1 reply

Badge +12

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. 


 




 


Kind regards, 


 


Percy


Reply