Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

Math Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/Math Functions/MathCos

MathCos

3 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

Public Function MathCos(Number As Double)As Double

Description

This function is used to return the cosine value for a given angle.

Parameters

Key Description
Number The angel value to get the cos,value of type Double.

Return value

Returns the cosine of the specified angle as a numeric value of type double.

Sample

Public Sub main()AlertMessage (MathCos(0)) ' Cos (0) = 1 . the Alert Message will return 1 'pi = 3.1415926535 cosine function takes values from ( 0 to pi/2 )End Sub

See Also

  • MathExp
  • MathLog
  • Randomize


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  MathAtn

MathExp  

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2023 hybridsolutions.com. All Rights Reserved.