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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

Format for currency
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Format for currency
#40488
Format for currency 11 Years, 6 Months ago Karma: 0
Hi,

I couldn't find the solution to my dilemma. I want to show my value column with $value.00

see attached screenshot

is this possible?

Thanks
The administrator has disabled public write access.
 
#40490
Re:Format for currency 11 Years, 6 Months ago Karma: 760
Hello,

Set "Columns settings -> Format" parameter to {$value}.00 value.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#40495
Re:Format for currency 11 Years, 6 Months ago Karma: 0
Sorry, I'm a bit confused.
============================
My SQL query:
SELECT ROUND(SUM(jml_hikashop_order.order_full_price),2) as " "

FROM jml_hikashop_order_product

INNER JOIN jml_hikashop_order
ON jml_hikashop_order_product.order_id=jml_hikashop_order.order_id

WHERE jml_hikashop_order_product.order_product_name LIKE '%ANGP%' OR jml_hikashop_order_product.order_product_name LIKE '%GENERAL%'
AND
jml_hikashop_order.order_status LIKE '%confirmed%'
=============================
My Column Settings:
ID: 1
Format: {$value}.00

=============================
I am totaling all values within a particular product category.

Please let me know where I am going wrong in my coding

Thanks
The administrator has disabled public write access.
 
#40523
Re:Format for currency 11 Years, 6 Months ago Karma: 760
Set "Columns settings -> ID" parameter to 0 value.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#40528
Re:Format for currency -SOLVED 11 Years, 6 Months ago Karma: 0
SOLVED,

My format code works great! I just had to add "$" in front of your code to have the $ sign show along with the value.

${$value}

Thanks
Last Edit: 2013/05/03 17:46 By amheng5.Reason: correction in explanation
The administrator has disabled public write access.
 
#41646
Re:Format for currency -SOLVED 11 Years, 5 Months ago Karma: 0
If I use ${$value}, the data does not seem to sort correctly (by this column) when viewing the table. If I remove the $ mark, then it will sort correctly. Is it possible to have the $ mark show, and still sort correctly, or do I just need to remove the $ mark?
The administrator has disabled public write access.
 
Go to topPage: 12