Skip to main content
Module

x/simplestatistics/index.js>sign

simple statistics for node & browser javascript
Go to Latest
function sign
import { sign } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";

Sign is a function that extracts the sign of a real number

Examples

sign(2); // => 1

Parameters

x

input value