REBOL Programming/cosine

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

COSINE value /radians 

DESCRIPTION:[edit]

Returns the trigonometric cosine in degrees.

COSINE is a native value.

ARGUMENTS[edit]

  • value -- (Type: number)

REFINEMENTS[edit]

  • /radians -- Value is specified in radians.

SOURCE CODE[edit]

cosine: native[
    "Returns the trigonometric cosine in degrees." 
    value [number!] 
    /radians "Value is specified in radians."
]

{{BookCat}}