- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reg. Decimal Symobal
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 11:13 AM
05-23-2001 11:13 AM
Reg. Decimal Symobal
What Ive done so far:
Ive set the LC_TIME to GB
Now I need to change the Decimal Symbol format from (DOT) to (COMMA)and Back
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 04:19 AM
05-24-2001 04:19 AM
Re: Reg. Decimal Symobal
LC_NUMERIC=C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 11:24 AM
05-24-2001 11:24 AM
Re: Reg. Decimal Symobal
The decimal character (along with the thousands separator, grouping, and alternate digits) is set by the LC_NUMERIC environment variable. In order to check the current setting for the decimal character, you can run the command:
locale -ck decimal_point
If you are currently in the "C", "POSIX", or other US-English locales, you will get something along the lines of:
$ locale -ck decimal_point
LC_NUMERIC
decimal_point="."
On the other hand, if you set your LC_NUMERIC field to fr_FR.iso88591, you will get output similar to the following:
$ LC_NUMERIC=fr_FR.iso88591 locale -ck decimal_point
LC_NUMERIC
decimal_point=","
More information can be found in the man pages for locale(1) and localedef(4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 12:20 PM
05-24-2001 12:20 PM
Re: Reg. Decimal Symobal
but stil for $locale -ck decimal_point
Im getting (.) Dot
How do I change it to comma.
An early Reply will be highly appreciated
Kennedy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 05:31 PM
05-24-2001 05:31 PM
Re: Reg. Decimal Symobal
# export LC_NUMERIC=fr_FR.iso88591
then when you check:
# locale -ck decimal_point
LC_NUMERIC
decimal_point=","
hth
Mark