Amount with decimal

cancel
Showing results for 
Search instead for 
Did you mean: 
sanjaybandhniya
Intermediate

Amount with decimal

I have created custom content type for amount and  datatype d:double.

Now Problem is when I enter amount like 8888 then in document detail  it display as 8888 and in document library(I have customized table view and added some custom column) it display as 8888.0

I want to display both amount with 2 decimal.

Please give me some idea to implement.

1 Reply
afaust
Master

Re: Amount with decimal

You may want to develop a custom form control template. You should take a look at the default templates for guidance, i.e. the default number control.

For the documentlibrary you should look at implementing a custom renderer.