3. fastnumbers API

3.1. The “Built-In Replacement” Functions

Each of these functions acts as a faster drop-in replacement for the equivalent Python built-in function.

3.2. The “Error-Handling” Functions

Each of these functions will quickly convert strings to numbers (and also numbers to numbers) with fast and convenient error handling. They are guaranteed to return results identical to the built-in float or int functions.

3.3. The “Checking” Functions

These functions return a Boolean value that indicates if the input can return a certain number type or not.