=COS(PI()/2) result is 6.12323399573677E-017 instead of zero Hope it helps
That's because you have options > libreoffice calc > calculate > 'limit decimals for general number format' off. Or put it on and set the decimal places at 16 or more. Anything less than 16 gives 0.
Please take a look to this comment https://bugs.freedesktop.org/show_bug.cgi?id=50299 please take a look specially the comment#4.