Skip to content

Releases: AlexSp3/Basenumber.js

Alpha version 0.1

07 Aug 16:56
bd01477
Compare
Choose a tag to compare
Alpha version 0.1 Pre-release
Pre-release

version

Allowed functions

  • valueOf()
  • toString()
  • toNumber()
  • base()
  • sign()
  • newValue()
  • toBase()
  • toDec()
  • toHex()
  • toOct()
  • toBin()
  • trunc()
  • round()
  • toFixed()
  • toPrecision()
  • toSignificantDigits() / toSD()
  • abs()
  • ceil()
  • floor()
  • clamp()
  • toExponential() / toExp()
  • neg()
  • clone()

Math operations

  • add()
  • subtract()
  • multiply()
  • divide()
  • pow()
  • root()
  • sqrt()
  • cbrt()
  • exp()
  • log()
  • ln()
  • cos()
  • sin()
  • tan()
  • acos()
  • asin()
  • atan()
  • fact()

Comparing numbers

  • equalTo()
  • higherThan()
  • lowerThan()
  • isNeg()
  • isPos()
  • isInt()
  • isFloat()
  • isZero()
  • isNaN()
  • isFinite()
  • isBase()

Library configuration

  • setDecimals()
  • setAngle()
  • noConflict()