Implement calculation of linha digitavel.