m1l / Everything-Metric

Edge (Chromium) and Chrome Extension for converting USCS sites to Metric / SI
62 stars 15 forks source link

Wrong conversion #33

Open RenanSP13 opened 1 year ago

RenanSP13 commented 1 year ago

Nice extension. Thanks!

But I noticed that it fails to recognize if the leading zero is omitted in a value between 0 and 1. Fortunately, occurrences in such a format are rare anyway. For example, "0.004 inches" is correctly recognized and converted, but ".004 inches" is incorrectly converted to 10.16 cm instead of 0.10 mm.

Screenshot from 2023-10-08 21-11-34

Visited site: https://p1db.com/page/rf-pigtail-test-probes