Skip to main content
1 of 2
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

integer and decimal are used to describe fields in return types but not in method parameters

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.

Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60