Modify ↓
Opened on Oct 1, 2010 at 1:41:03 AM
Closed on Oct 1, 2010 at 7:44:29 PM
#1775 closed Bug (No Bug)
_Radian UDF does not work on values less that 1
| Reported by: | 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:2 by , on Oct 1, 2010 at 7:44:29 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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.