Excel VBA Cos Function

Facebooktwitterredditpinterestlinkedinmailby feather

VBA Cos Function: The Cos function in VBA returns the cosine value for a supplied angle.

Syntax

Parameter

Number (required) –This parameter represents the number that you want the absolute value of.

Return

This function returns the cosine value for a supplied angle.

Example 1

Output

-0.448073616
1
-1
 
VBA Cos Function

Example 2

Output

0

VBA Cos Function

Example 3

Output

VBA Cos Function

Example 4

Output

VBA Cos Function
Facebooktwitterredditpinterestlinkedinmailby feather