
Math::Cos
Math::Cos returns the value of the cos decimal.
Math::Cos( Decimal value : Decimal result );
Parameters
| value | The input value |
| result | The 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::SinListen All
Comments (0)

