[ic] How to display as integer
marc.brevoort
interchange-users@icdevgroup.org
Wed Oct 16 12:10:01 2002
> > > Currently this gets displayed
> > > as for example "10.00" but I want it to show up as "10". Any ideas
> > return sprintf("%d",$arg);
>
> return int($arg) is a little bit more straightforward.
You're absolutely right, you caught me making a quick hack ;) The tag
originally formatted the number as %.2f as format, to print a number with
two decimals after the point/comma.
Regards,
Marc Brevoort