Modify

Opened 9 years ago

Closed 9 years ago

#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 Changed 9 years ago by BrewManNH

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 Changed 9 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.