Did you know ... Search Documentation:
PL_get_integer()