Math::Cos

Math::Cos returns the value of the cos decimal.

Math::Cos(
   Decimal value
:  Decimal result
);

Parameters

valueThe input value
resultThe results value.

Return Values

The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error.

Remarks

    Example Use
    • TScript
    main(){
       Decimal cos = Math::Cos(0.5 * Math::PI);
       Decimal sin = Math::Sin(0.5);
    }

    Requirements

    TScript Version: 1.4

    Also See

    Math::Sin
    Listen All
    Comments (0)
    Characters left: 2500
     

    Contact Ekky

    Thanks for your interest.

    Ekky Software Customer Support Team.

    Ekky Software Product Range
    Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript