Decimal precision

Hi Benoit:

Your result is correct. “Valeur” must be a double-precision floating point variable. This has 15 decimal places of precision (at most). This is exactly what you have: 3,141592653589793

If you need higher precision (more correct decimal places), then see the thread at Compiler Explorer and 128 bit math