calculate the length of ac to 1 decimal place