Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [katakombe] Calculations

Quote Reply
Re: [katakombe] Calculations In reply to
Hi,

A global could do this (you could probably also do it in a template tag, but can't remember off hand =))

Code:
do_divide
sub {
return $_[0] / $_[1];
}


<%do_divide($variable1,$variable2)%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Calculations katakombe 3171 Dec 3, 2009, 9:44 AM
Thread Re: [katakombe] Calculations
Andy 3115 Dec 3, 2009, 11:30 AM
Thread Re: [Andy] Calculations
katakombe 3038 Dec 4, 2009, 7:20 AM
Thread Re: [katakombe] Calculations
brewt 3014 Dec 4, 2009, 4:30 PM
Post Re: [brewt] Calculations
katakombe 3020 Dec 4, 2009, 8:38 PM