# formatLongitude

Formats a longitude with a hemisphere letter, for example "28.04730° E".

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { formatLongitude } from "@mapcairn/core";
 
function formatLongitude(longitude: number, hemispheres: Hemispheres): string;
```

## Parameters

- `longitude` (`number`)
- `hemispheres` (`Hemispheres`)

## Returns

`string`

## See also

- [`Hemispheres`](https://docs.mapcairn.com/api/core/Hemispheres.md)

Source: [packages/core/src/format/format.ts:116](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/format/format.ts#L116)
