import isnumber from "./isnumber";
import { ERRORTYPES as error } from "./error";
Copyright 2015-2021 JC Fisher
import isnumber from "./isnumber";
import { ERRORTYPES as error } from "./error";
ACOS computes the inverse cosine of a number
export default function acos(value) {
Return #VALUE!
if not number
if (!isnumber(value)) {
return error.value;
}
Use built-in Math.acos
return Math.acos(value);
}