Update documentation for num() function.