pawno calculates the cosinus of an angle different than my calculator?!
#3

Quote:
Originally Posted by MaXx001
Because pawn uses radians as default.

floatcos is defined as follows:

Код:
floatcos Return the cosine of an angle

Syntax: Float: floatcos(Float: value, anglemode: mode=radian)

value: The value to calculate the cosine of.
mode: Specifies whether the angle (in parameter value) is specified in degrees (sexagesimal system), grades (centesimal system) or radian. The default is radian.

Returns: The result: the cosine of the input number.
ok thanks, it works now
Reply


Messages In This Thread
pawno calculates the cosinus of an angle different than my calculator?! - by ғαιιοцт - 17.02.2009, 17:49
Re: pawno calculates the cosinus of an angle different than my calculator?! - by MaXx001 - 17.02.2009, 17:59
Re: pawno calculates the cosinus of an angle different than my calculator?! - by ғαιιοцт - 17.02.2009, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)