Hi
what's the simplest way of removing zeros from decimals ?
in my db all product weights have 2 decimal places ('1.00', '1.50', '2.25' etc)
what I would like to do is display them without the final zeros, so that
'1.00' => 1 kg
'1.50' => 1.5 kg
'2.25' => 2.25 kg
is it possible to remove the zeros before adding the " kg" ?
thanks for any suggestions you may have