Modify

#1775 closed Bug (No Bug)

_Radian UDF does not work on values less that 1

Reported by: Nunzio.Knerr@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.0 Severity: None
Keywords: radian, degrees, pi Cc:

Description

The radian function does not return a value if the $degrees variable is less than 1

#include <Math.au3>

$degrees = 0.5
$radians = _Radian($degrees)

MsgBox(0, "Degrees to Radians", $degrees & " degrees = " & $radians & " radians")

Attachments (0)

Change History (2)

comment:1 by BrewManNH, on Oct 1, 2010 at 2:40:35 AM

I just ran your example script and I got 0.5 degrees = 0.008726646... radians (I didn't feel it necessary to type the whole number that was shown in the msgbox). It seems like it might be something on your end and not with the Math.au3 file. This was on Windows 7 x86.

comment:2 by Valik, on Oct 1, 2010 at 7:44:29 PM

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.