W3cubDocs

/Dart 2

cos function

double cos (num radians)

Converts radians to a double and returns the cosine of the value.

If radians is not a finite number, the result is NaN.

Implementation

external double cos(num radians);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-math/cos.html