[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Remove $ from [total-cost]



>>>> suppressed 10/26/05 06:06PM >>>
>> Is there a simple way to output [total-cost] without a
>> dollar sign $?
>
>[total-cost noformat=1]   ? 

that'd remove the $, but it would also leave the decimal places as is.
$10.50 would show up as 10.5, and 4.975 (possible with discounts etc)
would probably be left at three decimal places.  If there's no need for pret,
then this is the simplest and most efficent way that i'm aware of.

[filter op=digits_dot interpolate=1][total-cost][/filter]
outputs a number suitable for use as a price, but without the $.
There are probably other more efficient ways, but the OP did ask for simple.  =)

Is there a number-format tag?  I don't remember seeing one, but that doesn't mean a whole lot.
If there isn't, it shouldn't be too much trouble to whip one up.

--
Daniel Davenport
New Age Digital
http://www.newagedigital.com




_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.