[ic] converting to 2 decimal places problem

Dion Jones interchange-users@icdevgroup.org
Mon Nov 25 06:56:01 2002


I currently have this code:

	[calc][item-field height]/2.54[/calc] inches

to convert my Cm into inches and output it on a page but this produces a
crazy amount of decimal places.  how can I get it down to just 2dp?

cheers

Dion Jones
Web developer
--------------------------------
Small Island Trader Limited
Web: http://www.smallislandtrader.com
mailto:dion@smallislandtrader.com
Brockton Hall, Eccleshall
Stafford ST21 6LY, United Kingdom
Tel: +44 (0) 1785 851800
Fax: +44 (0) 1785 851900