What is the meaning of each name corresponding to the localeconv function of php?

Source: Internet
Author: User
After the output: the grouping and mon_grouping Health names indicate the meanings of the five types of values and the Health Names marked as & #039; not understood & #039. Please explain it in detail. thank you! I can't understand the manual.

After output:

What are the meanings of the five types of grouping and mon_grouping Health names?
And the health name marked as "not understand.
Please explain it in detail. thank you! I can't understand the manual.

Reply content:

After output:

What are the meanings of the five types of grouping and mon_grouping Health names?
And the health name marked as "not understand.
Please explain it in detail. thank you! I can't understand the manual.

  • [Decimal_point]-decimal point character
  • [Thousands_sep]-thousands separator
  • [Int_curr_symbol]-currency symbol (for example, USD)
  • [Currency_symbol]-currency symbol (for example, $)
  • [Mon_decimal_point]-currency decimal point
  • [Mon_thousands_sep]-currency thousands separator
  • [Positive_sign]-positive value symbol
  • [Negative_sign]-negative value symbol
  • [Int_frac_digits]-International decimal number
  • [Frac_digits]-local decimal number
  • [P_cs_precedes]-if, if the currency symbol is before the positive value, True (1); otherwise, False (0 ).
  • [P_sep_by_space]-True (1) If there is space between the currency symbol and the positive value, True (1); otherwise, False (0 ).
  • [N_cs_precedes]-True (1) if the currency symbol is True (1) before the negative value; otherwise, False (0 ).
  • [P_sep_by_space]-True (1) If there is space between the currency symbol and the negative value, True (1); otherwise, False (0 ).
  • [P_sign_posn]-formatting options:

    • 0-parentheses around the number and currency symbol
    • 1-number + before the number and currency symbol
    • 2-plus signs after the number and currency symbol
    • 3-the plus sign before the currency symbol
    • 4-the plus sign after the currency symbol
  • [N_sign_posn]-formatting options:

    • 0-parentheses around the number and currency symbol
    • 1-digit before the number and currency symbol
    • 2-the-number after the number and currency symbol
    • 3-the-number before the currency symbol
    • 4-the-number after the currency symbol
  • [Grouping]-Array that shows how to group numbers (for example, 3 indicates 1 000 000)
  • [Mon_grouping]-Array that shows how to group Currency numbers (for example, 2 indicates 1 00 00)
    --PHP localeconv () function

Okay, I have recovered T_T if I told you not to go to W3school.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.