Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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
1  
Hey - great to see you! I haven't seen you in a while! –  Nathan Osman Jan 29 '12 at 4:49
1  
@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
1  
Cool. Well, it's great to have you back here for the v2.0 release. –  Nathan Osman Feb 5 '12 at 20:51
add comment

1 Answer

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
add comment

You must log in to answer this question.

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