Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_GET_API_VERSION

# GRIB_GET_API_VERSION

The GRIB_GET_API_VERSION function returns the current GRIB API version number.

## Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

## Syntax

Result = GRIB_GET_API_VERSION( )

## Return Value

Returns a long value containing the GRIB library version number. For example, if the current version si 1.9.0, the value returned is 10900.

## Version History

8.1 | Introduced

## See Also

GRIB_GET_MESSAGE_SIZE , GRIB_GET_NATIVE_TYPE