Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Text template: display round numbers via parameter
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Text template: display round numbers via parameter
#49793
Text template: display round numbers via parameter 9 Years, 10 Months ago Karma: 1
Hello,

Is it possible to display round numbers via the parameters of the text template? (see screenshot in attachment).

Synkro.
The administrator has disabled public write access.
 
#49796
Re:Text template: display round numbers via parameter 9 Years, 10 Months ago Karma: 747
Hello,

Use "number_format" filter for variables. For example:

Code:


{$UserScore|number_format:0}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#49802
Re:Text template: display round numbers via parameter 9 Years, 10 Months ago Karma: 1
Perfect

Thanks.

Synkro.
The administrator has disabled public write access.
 
#51535
Re:Text template: display round numbers via parameter 9 Years, 6 Months ago Karma: 0
Is it possible to change 'Chapter Results' to contain no decimals?
mswja99
Ignite Your Passion to Prepare and Promote!
User Offline Click here to see the profile of this user
Gender: Male 3 Ignite. LLC Location: Texas, United States
Last Edit: 2014/09/30 17:33 By mswja99.Reason: Added screen shot at 800 pixels
The administrator has disabled public write access.
 
#51536
Re:Text template: display round numbers via parameter 9 Years, 6 Months ago Karma: 747
Hello,

The answer in this post. Use {$UserScore|number_format:0} and {$MaxScore|number_format:0} instead of {$UserScore} and {$MaxScore} in text template.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#51541
Re:Text template: display round numbers via parameter 9 Years, 6 Months ago Karma: 0
The script removes the results if I place it in {$SummaryByCategories|number_format:0}
mswja99
Ignite Your Passion to Prepare and Promote!
User Offline Click here to see the profile of this user
Gender: Male 3 Ignite. LLC Location: Texas, United States
The administrator has disabled public write access.
 
Go to topPage: 12