1.3.4.3.2.13. Number search with units (explicitly and implicitly)

Examples:

  • Numerical values are indexed in their base unit. They can also be searched for by specifying a desired unit as a search operator in square brackets [].[21]

    • A search for 5 will find 5 mm and 5 INCH.

    • A search for 25.4[mm] will find both 25.4 mm and 1 inch.

    • A search for 1 [inch] will find both 1 inch and 25.4 mm.

  • Values can be searched for in inch notation (e.g. 3 1/2 )

    A fractional representation is evaluated as inches by default and a conversion to mm takes place automatically in the background so that mm values are also found.

    1/2

    1 1/2

    38.1 mm and 1 1/2 inch are equivalent.

    38.1 mm and 1 1/2 inch are equivalent.

  • If you want to search for "mm" with a fraction, you have to add "mm" in square brackets.

    [Note]Note

    Only if the unit is explicitly stated, searching is exclusively numerical, otherwise textual.

    1/2 [mm]

  • When wanting to explicitly search for Inch you have to add "inch" in square brackets.

    [Note]Note

    Only if the unit is explicitly stated, searching is exclusively numerical, otherwise textual.

    0.5 [inch]

  • Also with inch, you can search "from-to".

    1/2 - 3/4

    1 1/2 - 1 3/4

    Also when using from-to statements the unit can be added behind.

    1 1/2 [inch] - 1.75 [inch]

    If there is no explicit statement, the last token defines the unit.

    The following search leads to Inch results, because the fraction is automatically interpreted as Inch.

    1.5 - 1 3/4

  • Inch values could also be part of order numbers, for example.




[21] Works for all units contained in the configuration file unitbase.cfg.