Rebol Programming/cosine

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

USAGE:[edit | edit source]

COSINE value /radians 

DESCRIPTION:[edit | edit source]

Returns the trigonometric cosine in degrees.

COSINE is a native value.

ARGUMENTS[edit | edit source]

  • value -- (Type: number)

REFINEMENTS[edit | edit source]

  • /radians -- Value is specified in radians.

SOURCE CODE[edit | edit source]

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