1.0.1 • Published 4 years ago

pg-conversions v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Conversions NPM library

Constants

  • minuteOfAngle - Inches at 100 yards
  • mil - Inches at 100 yards
  • pi

Functions

  • degreesToRadians(degrees) - Converts from a degree to a radian angle.
  • inchesToIPHY(inches, currentRange) - Converts from inches to inches per 100 yards
  • inchesToMil(inches, currentRange) - Converts from inches to milliradians.
  • inchesToMinutesOfAngle(inches, currentRange) - Converts from inches to minutes of angle (MoA).
  • isEven(input) - Returns true if the inputed integer is an even number.
  • metersToYards(meters)
  • milesPerHourToInchesPerSecond(inputVelocityMPH) - Converts from a miles per hour (MPH) to inches per second.
  • radiansToDegrees(radians) - Converts from a radian ro a degree angle.
  • sec(angle) - Secant
  • sizeToDistance(actualTargetSizeInches, reticleViewedTargetSizeMils) -
  • yardsToMeters(yards)