Numbers - Stack Exchange API

Numbers

Discussion

The API typically works in integers, in all but a few cases returning integers and in all cases accepting only integers as parameters. The motivation for this is to prevent any unpleasant floating point confusion, especially across technologies that offering different floating point precision).

The few exceptions where a field on an object is a floating point value are indicated in the relevant type documentation pages. For example, the info object has three (questions_per_minute, answers_per_minute, and badges_per_minute) decimal fields.

Each method documentation page indicates the parameters that expect numeric values with a . All methods expect whole numbers, no method accepts decimal numbers.

The API guarantees that all numbers returned will fit in a signed 32-bit integer. Dates are returned as numbers as well, but are instead guaranteed to fit in a signed 64-bit integer.

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.