vasya / pg-conversions
Conversions PHP Library
Installs: 10 356
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.3.
This package is auto-updated.
Last update: 2025-06-29 02:07:45 UTC
README
Constants
minuteOfAngle
- Inches at 100 yardsmil
- Inches at 100 yardspi
Functions
degreesToRadians(degrees)
- Converts from a degree to a radian angle.inchesToIPHY(inches, currentRange)
- Converts from inches to inches per 100 yardsinchesToMil(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)
- SecantsizeToDistance(actualTargetSizeInches, reticleViewedTargetSizeMils)
-yardsToMeters(yards)