ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Math functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Calculates the cosine of an angle.
Example
// Calcul du cosinus de 60
ResCosinus = Cos(60)
// Renvoie 0.5
Syntax
<Result> = Cos(<Angle>)
<Result>: Real
Cosine of the specified angle.
<Angle>: Integer or real
Angle (in degrees) to use. This parameter can have any value: the Cosine is calculated "modulo 360".
Component: wd300mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help