Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Mizuno] Round Rating to one decimal?

Quote Reply
Re: [Mizuno] Round Rating to one decimal? In reply to
... or, call it with;

Code:
<%round_rating($Rating)%>

... and then change;

Code:
my $non_rounded = $rec->('Rating');

to...

Code:
my $non_rounded = shift;

... which I think is faster, because you are only loading the variable, instead of the whole %ref.

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 Round Rating to one decimal? Chas-a 3215 Aug 29, 2003, 10:46 AM
Thread Re: [Chas-a] Round Rating to one decimal?
Andy 3151 Aug 29, 2003, 10:49 AM
Thread Re: [Andy] Round Rating to one decimal?
Mizuno 3139 Aug 29, 2003, 1:31 PM
Thread Re: [Mizuno] Round Rating to one decimal?
Andy 3136 Aug 29, 2003, 1:40 PM
Thread Re: [Andy] Round Rating to one decimal?
Chas-a 3126 Aug 29, 2003, 2:27 PM
Thread Re: [Chas-a] Round Rating to one decimal?
Mizuno 3173 Aug 29, 2003, 3:07 PM
Post Re: [Mizuno] Round Rating to one decimal?
Chas-a 3123 Aug 29, 2003, 3:18 PM
Thread Re: [Mizuno] Round Rating to one decimal?
Andy 3127 Aug 29, 2003, 11:51 PM
Thread Re: [Andy] Round Rating to one decimal?
Mizuno 3131 Aug 30, 2003, 9:54 AM
Post Re: [Mizuno] Round Rating to one decimal?
Andy 3139 Aug 30, 2003, 9:56 AM
Post Re: [Andy] Round Rating to one decimal?
Chas-a 3096 Aug 30, 2003, 10:26 AM