Method cos() Method cos float cos(int|float f) Description Return the cosine value for f. f should be specified in radians. See also acos(), sin(), tan()