import {Meta} from '@storybook/addon-docs/blocks'

<Meta title='@dxtmisha/en/functional/Composables/useGeoIntlRef - Data Formatting'/>

# `useGeoIntlRef`

A composable that returns an instance of the `GeoIntlRef` class for working with internationalization and data formatting (numbers, currencies, dates, etc.) based on the current locale.

**Returns (`GeoIntlRef`):**
- A `GeoIntlRef` class object providing methods for reactive formatting.

## `GeoIntlRef` Methods

The class provides reactive methods for formatting. All available methods of this class can be found in the GeoIntlRef description.

## Example

```typescript
import { useGeoIntlRef } from '@dxtmisha/functional'

const intl = useGeoIntlRef()

// Reactive number formatting
const formattedNumber = intl.number(1234.56) // "1,234.56" (for en-US)

// Currency formatting
const price = intl.currency(1000, 'USD') // "$1,000.00"
```
