Mobile App Development Software
Alpha TransForm
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • API
  • Functions
  • Data Type
  • Numeric Functions
  • Mathematical Functions
  • COS Function
Parent | Child | Previous | Next
  • *fraction Function
  • *FROM_HEX Function
  • *FROM_HEXC Function
  • *FROM_HEXN Function
  • *FROM_OCTAL Function
  • *from_octalc
  • *from_octaln Function
  • *increment_normalize Function
  • *increment_presented Function
  • *rational Function
  • *to_longint Function
  • *to_shortint Function
  • *to_ulongint Function
  • *to_ushortint Function
  • a5_enumapplicationdata Function
  • a5_number_format Function
  • ABS Function
  • ACOS Function
  • ASIN Function
  • ATAN Function
  • ATAN2 Function
  • B_TO_KB Function
  • BYTES_TO_MEGA Function
  • CEILING Function
  • CMTOINCHES Function
  • COS Function
  • DTOR Function
  • enum_drop Function
  • enumeration_load Function
  • enumeration_play Function
  • enumeration_save Function
  • EXP Function
  • FLOOR Function
  • INCHES_TO_TWIPS Function
  • INCHESTOCM Function
  • LOG Function
  • log10 Function
  • MATH_PI
  • MAX Function
  • MIN Function
  • MOD Function
  • PIXELS_TO_TWIPS Function
  • RAND Function
  • ROUND Function
  • ROUND_DOWN Function
  • ROUND_UP Function
  • RTOD Function
  • SIGN Function
  • SIN Function
  • SQRT Function
  • TAN Function
  • TWIPS_TO_INCHES Function
  • TWIPS_TO_PIXELS Function
 
Xbasic

COS Function

Syntax

Cosine as N = COS(N radians)

Arguments

radians

A number between - p and + p.

Description

Returns the cosine of an angle expressed in radians.

Discussion

COS() returns the cosine of a Radian_Angle. For angles measured in degrees, use COS(DTOR( Degree_Angle )).

Example

cos(0) -> 1
cos( dtor(90) ) -> 0

See Also

  • Mathematical Functions
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy