Kath: Have you tried putting parentheses around the math expression? echo " <td align='right'>".($distance / 10)."</td>\n</tr>\n"; If that doesn't work, could you post the actual source the php generates? Cheers ~ K At 12:03 PM 8/14/2003, you wrote: > echo " <td align='right'>". $distance / 10 ."</td>\n</tr>\n";