---
name: "lconv"
section: "3type"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/lconv/3type"
---

# lconv(3type)

numeric formatting information

## NAME

lconv - numeric formatting information

## LIBRARY

Standard C library (*libc*)

## SYNOPSIS

```
#include <locale.h>
```

**struct lconv {**                /\* Values in the "C" locale: \*/     **char \*decimal\_point;**      /\* "." \*/     **char \*thousands\_sep;**      /\* "" \*/     **char \*grouping;**           /\* "" \*/     **char \*mon\_decimal\_point;**  /\* "" \*/     **char \*mon\_thousands\_sep;**  /\* "" \*/     **char \*mon\_grouping;**       /\* "" \*/     **char \*positive\_sign;**      /\* "" \*/     **char \*negative\_sign;**      /\* "" \*/     **char \*currency\_symbol;**    /\* "" \*/     **char  frac\_digits;**        /\* CHAR\_MAX \*/     **char  p\_cs\_precedes;**      /\* CHAR\_MAX \*/     **char  n\_cs\_precedes;**      /\* CHAR\_MAX \*/     **char  p\_sep\_by\_space;**     /\* CHAR\_MAX \*/     **char  n\_sep\_by\_space;**     /\* CHAR\_MAX \*/     **char  p\_sign\_posn;**        /\* CHAR\_MAX \*/     **char  n\_sign\_posn;**        /\* CHAR\_MAX \*/     **char \*int\_curr\_symbol;**    /\* "" \*/     **char  int\_frac\_digits;**    /\* CHAR\_MAX \*/     **char  int\_p\_cs\_precedes;**  /\* CHAR\_MAX \*/     **char  int\_n\_cs\_precedes;**  /\* CHAR\_MAX \*/     **char  int\_p\_sep\_by\_space;** /\* CHAR\_MAX \*/     **char  int\_n\_sep\_by\_space;** /\* CHAR\_MAX \*/     **char  int\_p\_sign\_posn;**    /\* CHAR\_MAX \*/     **char  int\_n\_sign\_posn;**    /\* CHAR\_MAX \*/ **};**

## DESCRIPTION

Contains members related to the formatting of numeric values. In the "C" locale, its members have the values shown in the comments above.

## STANDARDS

C11, POSIX.1-2024.

## HISTORY

- *lconv*

  SUSv1, POSIX.1-2001.

- *.int\_p\_cs\_precedes* *.int\_n\_cs\_precedes* *.int\_p\_sep\_by\_space* *.int\_n\_sep\_by\_space* *.int\_p\_sign\_posn* *.int\_n\_sign\_posn*

  POSIX.1-2001.

## SEE ALSO

[**setlocale**(3)](/setlocale/3.md), [**localeconv**(3)](/localeconv/3.md), [**charsets**(7)](/charsets/7.md), [**locale**(7)](/locale/7.md)
