How to display number as Thousands separator like 999,999.00

More
10 years 11 months ago #44361 by bunnachart
Thank Develop for good Component

I have to create field text for price but when display in front website is 9999999 how i display for Thousands separator like 999,999.00

Sorry for English i am no good.

Best Regard

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #44393 by ggppdk
Hello

please create a custom template and output the field manually using something like (54 is the field id):
Code:
echo number_format($item->fieldvalues[54][0], 2);

This can also be found in our FAQ:
Using the raw value of a field inside a template file


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #44413 by bunnachart

ggppdk wrote: Hello

please create a custom template and output the field manually using something like (54 is the field id):

Code:
echo number_format($item->fieldvalues[54][0], 2);

This can also be found in our FAQ:
Using the raw value of a field inside a template file


Thank you very much.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #47642 by AboutUtila
I had a similar problem which I solved by modifying the standard Flexicontent text field to supporting formatting of Integer and Decimal numbers.
My solution is posted here Modified Text Field Plugin with number formatting and includes, as an attachment, a modified Text Field Plugin installation/update package.

Joomla: Joomla! 3.3.0 Stable, Joomla Platform 13.1.0 Stable
FlexContent: 2.2.0 r1910 Beta

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #47654 by ggppdk
Hello

v2.2.0 contains a very big effort to improve the CORE even further and among offer high-end performance in large web-sites (a)

adding more features AND MORE TEMPLATES (!! to make FLEXIcontent show its value) will be done after the release of v2.2.0

plus we are moving to GitHub where you can join us and contribute !

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.380 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline