Keep units styled and prevent zero reverse examples

This commit is contained in:
Codex
2026-03-07 08:47:17 +00:00
parent 9e2475b1fb
commit d450223f70
5 changed files with 444 additions and 72 deletions

View File

@@ -226,6 +226,46 @@ Whenever a new calculator is published via the REST API, it must be appended her
| Nanograms to picograms | 532 | 533 | nanograms-to-picograms | 1000 |
| Metric tons to long tons | 520 | 521 | metric-tons-to-long-tons | 0.9842 |
| Lumens to candela | 511 | 512 | lumens-to-candela | 0.079577 |
| GSM to Ounces per sq yard Convert GSM to Ounces per sq yard instantly. | - | - | gsm-to-ounces-per-sq-yard | 0.02952 |
| Hands to Centimeters Convert Hands to Centimeters instantly. | - | - | hands-to-centimeters | 10.16 |
| Hands to Inches Convert Hands to Inches instantly. | - | - | hands-to-inches | 4 |
| Hartree to Electron-volts Convert Hartree to Electron-volts instantly. | - | - | hartree-to-electron-volts | 27.2114 |
| Hectares to Ares Convert Hectares to Ares instantly. | - | - | hectares-to-ares | 100 |
| Hectares to Square Feet Convert Hectares to Square Feet instantly. | - | - | hectares-to-square-feet | 107639 |
| Hectares to Square Kilometers Convert Hectares to Square Kilometers instantly. | - | - | hectares-to-square-kilometers | 0.01 |
| Hectares to Square Meters Convert Hectares to Square Meters instantly. | - | - | hectares-to-square-meters | 10000 |
| Hectopascals to Atmosphere Convert Hectopascals to Atmosphere instantly. | - | - | hectopascals-to-atmosphere | 0.000986923 |
| Hectopascals to Bar Convert Hectopascals to Bar instantly. | - | - | hectopascals-to-bar | 0.001 |
| Hectopascals to PSI Convert Hectopascals to PSI instantly. | - | - | hectopascals-to-psi | 0.0145038 |
| Henries to Millihenries Convert Henries to Millihenries instantly. | - | - | henries-to-millihenries | 1000 |
| Hertz to Kilohertz Convert Hertz to Kilohertz instantly. | - | - | hertz-to-kilohertz | 0.001 |
| Hertz to RPM Convert Hertz to RPM instantly. | - | - | hertz-to-rpm | 60 |
| Hex to Octal Convert Hex to Octal instantly. | - | - | hex-to-octal | Base 16 → 8 |
| Hogshead to Liters Convert Hogshead (US) to Liters instantly. | - | - | hogshead-to-liters | 238.481 |
| Horsepower to BTU/hour Convert Horsepower to BTU/hour instantly. | - | - | horsepower-to-btuhour | 2544.43 |
| Horsepower to Tons of Refrigeration Convert Horsepower to Tons of Refrigeration instantly. | - | - | horsepower-to-tons-of-refrigeration | 0.284345 |
| Horsepower to Watts Convert Horsepower to Watts instantly. | - | - | horsepower-to-watts | 745.7 |
| Hours to Seconds Convert Hours to Seconds instantly. | - | - | hours-to-seconds | 3600 |
| Hours to Weeks Convert Hours to Weeks instantly. | - | - | hours-to-weeks | 0.00595238 |
| Hundredweight (cwt) to Kilograms Convert Hundredweight (cwt) to Kilograms instantly. | - | - | hundredweight-to-kilograms | 45.3592 |
| Imperial fl oz to US fl oz Convert Imperial fl oz to US fl oz instantly. | - | - | imperial-fl-oz-to-us-fl-oz | 1.20095 |
| Imperial gallons to Liters Convert Imperial gallons to Liters instantly. | - | - | imperial-gallons-to-liters | 4.54609 |
| Imperial gallons to US gallons Convert Imperial gallons to US gallons instantly. | - | - | imperial-gallons-to-us-gallons | 1.20095 |
| Imperial pints to US pints Convert Imperial pints to US pints instantly. | - | - | imperial-pints-to-us-pints | 1.20095 |
| Inch-Pounds to Foot-Pounds Convert Inch-Pounds to Foot-Pounds instantly. | - | - | inch-pounds-to-foot-pounds | 0.0833333 |
| Inch-Pounds to Newton-Meters Convert Inch-Pounds to Newton-Meters instantly. | - | - | inch-pounds-to-newton-meters | 0.112985 |
| Inches of Water to PSI Convert Inches of Water to PSI instantly. | - | - | inches-of-water-to-psi | 0.0360912 |
| Inches per second to cm per second Convert Inches per second to Centimeters per second instantly. | - | - | inches-per-second-to-cm-per-second | 2.54 |
| Inches to Meters Convert Inches to Meters instantly. | - | - | inches-to-meters | 0.0254 |
| Inches to Points Convert Inches to Points instantly. | - | - | inches-to-points | 72 |
| Inches to Yards Convert Inches to Yards instantly. | - | - | inches-to-yards | 0.0277778 |
| Jansky to Watts per sq meter per Hertz Convert Jansky to Watts per square meter per Hertz instantly. | - | - | jansky-to-watts-per-square-meter-per-hertz | 1e-26 |
| Jiffies to Seconds Convert Jiffies to Seconds instantly. | - | - | jiffies-to-seconds | 0.01 |
| Jiggers to Milliliters Convert Jiggers to Milliliters instantly. | - | - | jiggers-to-milliliters | 44.3603 |
| Joules to BTU Convert Joules to BTU instantly. | - | - | joules-to-btu | 0.000947817 |
| Joules to Electron-volts Convert Joules to Electron-volts instantly. | - | - | joules-to-electron-volts | 6.24151e+18 |
| Joules to Foot-pounds Convert Joules to Foot-pounds instantly. | - | - | joules-to-foot-pounds | 0.737562 |
| Joules to Kilowatt-hours Convert Joules to Kilowatt-hours instantly. | - | - | joules-to-kilowatt-hours | 2.77778e-07 |
## Backlog / To-Do
- [x] Acres to hectares
@@ -485,46 +525,46 @@ Whenever a new calculator is published via the REST API, it must be appended her
- [ ] Gray to Sievert (1 gray of gamma/beta exposure = 1 sievert)
#### Additional 40 ready conversions (no additional input needed)
- [ ] GSM to Ounces per sq yard (1 gsm ≈ 0.02952 ounces per square yard)
- [ ] Hands to Centimeters (1 hand = 10.16 centimeters)
- [ ] Hands to Inches (1 hand = 4 inches)
- [ ] Hartree to Electron-volts (1 Hartree ≈ 27.2114 electron-volts)
- [ ] Hectares to Ares (1 hectare = 100 ares)
- [ ] Hectares to Square Feet (1 hectare ≈ 107639.104 square feet)
- [ ] Hectares to Square Kilometers (1 hectare = 0.01 square kilometers)
- [ ] Hectares to Square Meters (1 hectare = 10,000 square meters)
- [ ] Hectopascals to Atmosphere (1 hPa ≈ 0.000986923 atmosphere)
- [ ] Hectopascals to Bar (1 hPa = 0.001 bar)
- [ ] Hectopascals to PSI (1 hPa ≈ 0.0145038 psi)
- [ ] Henries to Millihenries (1 henry = 1,000 millihenries)
- [ ] Hertz to Kilohertz (1 hertz = 0.001 kilohertz)
- [ ] Hertz to RPM (1 hertz = 60 RPM)
- [ ] Hex to Octal (base-16 digits convert directly to base-8 representation)
- [ ] Hogshead to Liters (1 US hogshead ≈ 238.481 liters)
- [ ] Horsepower to BTU/hour (1 horsepower ≈ 2,544.43 BTU/hour)
- [ ] Horsepower to Tons of Refrigeration (1 horsepower ≈ 0.284345 tons of refrigeration)
- [ ] Horsepower to Watts (1 horsepower ≈ 745.7 watts)
- [ ] Hours to Seconds (1 hour = 3,600 seconds)
- [ ] Hours to Weeks (1 hour ≈ 0.00595238 weeks)
- [ ] Hundredweight (cwt) to Kilograms (1 US hundredweight ≈ 45.3592 kilograms)
- [ ] Imperial fl oz to US fl oz (1 Imperial fluid ounce ≈ 1.20095 US fluid ounces)
- [ ] Imperial gallons to Liters (1 Imperial gallon = 4.54609 liters)
- [ ] Imperial gallons to US gallons (1 Imperial gallon ≈ 1.20095 US gallons)
- [ ] Imperial pints to US pints (1 Imperial pint ≈ 1.20095 US pints)
- [ ] Inch-Pounds to Foot-Pounds (1 inch-pound = 0.0833333 foot-pounds)
- [ ] Inch-Pounds to Newton-Meters (1 inch-pound ≈ 0.113 newton-meters)
- [ ] Inches of Water to PSI (1 inch of water ≈ 0.0360912 psi)
- [ ] Inches per second to cm per second (1 inch/second = 2.54 centimeters/second)
- [ ] Inches to Meters (1 inch = 0.0254 meters)
- [ ] Inches to Points (1 inch = 72 points)
- [ ] Inches to Yards (1 inch ≈ 0.0277778 yards)
- [ ] Jansky to Watts per sq meter per Hertz (1 jansky = 1e-26 W·m⁻²·Hz⁻¹)
- [ ] Jiffies to Seconds (1 jiffy (UNIX) = 0.01 seconds)
- [ ] Jiggers to Milliliters (1 jigger = 44.3603 milliliters)
- [ ] Joules to BTU (1 joule ≈ 0.000947817 BTU)
- [ ] Joules to Electron-volts (1 joule ≈ 6.241509e18 electron-volts)
- [ ] Joules to Foot-pounds (energy) (1 joule ≈ 0.737562 foot-pounds)
- [ ] Joules to Kilowatt-hours (1 joule ≈ 2.77778e-7 kilowatt-hours)
- [x] GSM to Ounces per sq yard (1 gsm ≈ 0.02952 ounces per square yard)
- [x] Hands to Centimeters (1 hand = 10.16 centimeters)
- [x] Hands to Inches (1 hand = 4 inches)
- [x] Hartree to Electron-volts (1 Hartree ≈ 27.2114 electron-volts)
- [x] Hectares to Ares (1 hectare = 100 ares)
- [x] Hectares to Square Feet (1 hectare ≈ 107639.104 square feet)
- [x] Hectares to Square Kilometers (1 hectare = 0.01 square kilometers)
- [x] Hectares to Square Meters (1 hectare = 10,000 square meters)
- [x] Hectopascals to Atmosphere (1 hPa ≈ 0.000986923 atmosphere)
- [x] Hectopascals to Bar (1 hPa = 0.001 bar)
- [x] Hectopascals to PSI (1 hPa ≈ 0.0145038 psi)
- [x] Henries to Millihenries (1 henry = 1,000 millihenries)
- [x] Hertz to Kilohertz (1 hertz = 0.001 kilohertz)
- [x] Hertz to RPM (1 hertz = 60 RPM)
- [x] Hex to Octal (base-16 digits convert directly to base-8 representation)
- [x] Hogshead to Liters (1 US hogshead ≈ 238.481 liters)
- [x] Horsepower to BTU/hour (1 horsepower ≈ 2,544.43 BTU/hour)
- [x] Horsepower to Tons of Refrigeration (1 horsepower ≈ 0.284345 tons of refrigeration)
- [x] Horsepower to Watts (1 horsepower ≈ 745.7 watts)
- [x] Hours to Seconds (1 hour = 3,600 seconds)
- [x] Hours to Weeks (1 hour ≈ 0.00595238 weeks)
- [x] Hundredweight (cwt) to Kilograms (1 US hundredweight ≈ 45.3592 kilograms)
- [x] Imperial fl oz to US fl oz (1 Imperial fluid ounce ≈ 1.20095 US fluid ounces)
- [x] Imperial gallons to Liters (1 Imperial gallon = 4.54609 liters)
- [x] Imperial gallons to US gallons (1 Imperial gallon ≈ 1.20095 US gallons)
- [x] Imperial pints to US pints (1 Imperial pint ≈ 1.20095 US pints)
- [x] Inch-Pounds to Foot-Pounds (1 inch-pound = 0.0833333 foot-pounds)
- [x] Inch-Pounds to Newton-Meters (1 inch-pound ≈ 0.113 newton-meters)
- [x] Inches of Water to PSI (1 inch of water ≈ 0.0360912 psi)
- [x] Inches per second to cm per second (1 inch/second = 2.54 centimeters/second)
- [x] Inches to Meters (1 inch = 0.0254 meters)
- [x] Inches to Points (1 inch = 72 points)
- [x] Inches to Yards (1 inch ≈ 0.0277778 yards)
- [x] Jansky to Watts per sq meter per Hertz (1 jansky = 1e-26 W·m⁻²·Hz⁻¹)
- [x] Jiffies to Seconds (1 jiffy (UNIX) = 0.01 seconds)
- [x] Jiggers to Milliliters (1 jigger = 44.3603 milliliters)
- [x] Joules to BTU (1 joule ≈ 0.000947817 BTU)
- [x] Joules to Electron-volts (1 joule ≈ 6.241509e18 electron-volts)
- [x] Joules to Foot-pounds (energy) (1 joule ≈ 0.737562 foot-pounds)
- [x] Joules to Kilowatt-hours (1 joule ≈ 2.77778e-7 kilowatt-hours)
#### Remaining backlog items
- [x] Abamperes to Amperes