Explain the meaning of each health name corresponding to the PHP function localeconv?

Source: Internet
Author: User

After output:

Grouping and mon_grouping have 5 types of values that represent what they mean
And the above marked as ' do not understand ' name.
Please explain in detail, thank you! The manual doesn't understand me.

Reply content:

After output:

Grouping and mon_grouping have 5 types of values that represent what they mean
And the above marked as ' do not understand ' name.
Please explain in detail, thank you! The manual doesn't understand me.

  • [Decimal_point]-Decimal character
  • [THOUSANDS_SEP]-Thousands separator
  • [Int_curr_symbol]-Currency symbol (ex: USD)
  • [Currency_symbol]-Currency symbol (for example: $)
  • [Mon_decimal_point]-Currency decimal symbol
  • [MON_THOUSANDS_SEP]-Currency thousand separator
  • [Positive_sign]-positive sign
  • [Negative_sign]-negative sign
  • [Int_frac_digits]-International decimal numbers
  • [Frac_digits]-Local decimal number
  • [P_cs_precedes]-if the currency symbol precedes a positive value, it is True (1), otherwise False (0).
  • [P_sep_by_space]-True (1) if there is space between the currency symbol and the positive value, it is True (1), otherwise False (0).
  • [N_cs_precedes]-True (1) if the currency symbol precedes a negative value, it is true (1), otherwise False (0).
  • [P_sep_by_space]-True (1) True (1) if there is space between the currency symbol and the negative value, otherwise False (0).
  • [P_sign_posn]-formatting options:

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

    • 0-parentheses around the number and currency symbols
    • 1-number and currency symbol before-number
    • 2-numbers and symbols after the currency symbol
    • 3-Before the currency symbol-number
    • 4-Number after currency symbol
  • [Grouping]-an Array that shows how to group numbers (for example: 3 indication 1 000 000)
  • [Mon_grouping]-an Array that shows how to group currency numbers (for example: 2 indication 1 00 00 00)
    -- PHP localeconv () function

Well, I took back the t_t when I told you not to see W3school.

  • Related Article

    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.