Strange value of Cos 90º lazarus / 31-LCL ---------------------------------------------------------------------- BlueIcaro · 2011-04-07 17:42 Hello, Cos of 90º (degress) is 0. But If I code this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i C := Cos (gradtorad (90));  C isn't 0, it's 0.1564.... My Lazarus is 0.9.30 "Oficial" Release. it's a bug?, Did I samething wrong? /BlueIcaro ---------------------------------------------------------------------- Arbee · 2011-04-07 17:53 I think you need to use DegToRad in stead of GradToRad ---------------------------------------------------------------------- BlueIcaro · 2011-04-07 18:03 Ups!!, it's true  Thank you /BlueIcaro ---------------------------------------------------------------------- marcov · 2011-04-08 09:08 (iirc grad has 400 degrees in a circle)