• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Format Number

New Here ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

I wanna get 2 type of number format.

{{123456 | number: "C3", ja-JP }} for ¥123.456

{{123456 | number: "N2", be-BE }} for 123.456,00      (for the numeric, the default seperator is 123,456.00 but other countries use . as seperator and , for decimal.)


but this is the wrong code and I have no idea how to specify correctly.

I want to control this output.


Please advice.


Thanks you for your time.

TOPICS
Newbie Corner

Views

448

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

Read all the bits at the bottom of this page:

Filters | Business Catalyst Support

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 02, 2016 Mar 02, 2016

Copy link to clipboard

Copied

Hi, Thank you for your reply.

I did read all of them before (even de standard numeric format strings)

But I have no idea if BC supports other output.

Since currently it output this for me : {{123456 | number: "C3"}}   -> £123,456  (and with comma separator)


Wont I have control how to output the {{numbers}} ?

I really would like to control over the currency and  "dot" as separator "comma" for decimal.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 03, 2016 Mar 03, 2016

Copy link to clipboard

Copied

LATEST

PLease read the link I put.

curreny output by default is based on country and the domain culture you set in the admin.

you have those number tigers but if you read th docunentwtion ou will see other options your missing.

further to these you can manuallj handle the data using the split filter.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines