SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a list with a several columns that have number values to fourth decimal place, and I am using javascript com to get data via rest GET request and following simple callback

function onGetScoreCallback(response, eventArgs) {
  var thisData = JSON.parse(response.get_responseData());
  for ( var i = 0; i < thisData.d.results.length; i++ ) {

Simple. Only I've noticed the value is truncated to the tenth. So I just viewed the source at the ListData.svc/MyList and the xml is showing all the values truncated (not rounded) to the tenth for everything....

Is this normal limitation of this type of approach or am I just missing something. I have been unable to find info on this anywhere.

share|improve this question
JSOM COM get list items working though...switched to that however I am still curious about this....? – Justin Jul 13 '13 at 19:28
No idea why but this magically resolved itself. I didn't change anything and all of a sudden all decimal places (3 for each) started coming back again. even in xml. ??? – Justin Jul 28 '13 at 11:42
was this happening on-prem or on O365? – 1c1cle Sep 4 '13 at 14:37

The value of a return type is formatted as per the WSS default for all fields or that content type.

"Decimal Places Mirrors the Number of decimal places setting in Windows SharePoint Services."

The only possible answer is that someone altered this unknowingly and it either got altered back by a reactivation of a feature which includes that content type, or it being set back.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.