Multiply lintel length by pi

Hi All

I have this dynamo script for increasing the ends based on a condition. But how do I modify it so it multipplies the current length by pi and changes it to that length?

My lintels are all curved so the lengths of all them will be length*pi


you can check this method,
and if you wanted to extend the curve from start and you can replace current node of “Curve.ExtendEnd”
or you wanted to extend both side and divide the balance by 2 then extend both side by half distance.