Revert "Revert "number functions""

This reverts commit 769f5d7fcde0a8a2c4465e55b8267ac0e5c61fae.