Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. 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

Integer and Decimal designations are useful in creating an accurate model of API methods and types.

These specific 'number' subtypes are used when describing types but the method parameter lists all use the more generic 'number' type.

It would be helpful if the method parameters which are numeric were more specifically typed.

share|improve this question
Hey - great to see you! I haven't seen you in a while! – Nathan Osman Jan 29 '12 at 4:49
@geo - been busy the last couple years making money writing json api stacks. i won't be nearly as noisy as last time but there is a v2 release in the works based on the work i have done these past couple years. – Sky Sanders Feb 5 '12 at 20:49
Cool. Well, it's great to have you back here for the v2.0 release. – Nathan Osman Feb 5 '12 at 20:51
up vote 0 down vote accepted

All numbers sent to the API as parameters are whole integers, this is made explicit in the Numbers documentation page now.

It has always been explicit in terms of parameter validation in the console, but it's now spelled out (along with bit sizes, which were not available before).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .