API ReferencecoremathsignOn this pagesignsign(v) ⇒ numberKind: global function Returns: number - +1 if v>0, 0 if v == 0, -1 if v<0 ParamTypevnumber