ढाँचा:Convert/hand

विकिपिडिया बठेइ

13.2 hands (ढाँचा:Convert/LoffAonDoutSoff)


The Template:Convert/hand converts hands of horse height, such as with inches, metres or cm. The conversion is 1 hand = 4 inches.[१] A fraction indicates inches, so "13.2" denotes 13 + 1/2 hands, rather than 2/10 or 1/5 hand. Examples:

  • {{convert|57|in|hand}} → 57 inches (14.1 hands)
  • {{convert|2|m|hand}} → 2 metres (19.3 hands)
  • {{convert|9.1|hand|in}}     → 9.1 hands (37 inches)
  • {{convert|14.1|hand|in}}     → 14.1 hands (57 inches)
  • {{convert|14.1|hand|cm}}   → 14.1 hands (145 cm)
  • {{convert|14.1|hand|in cm}} → 14.1 hands (57 inches; 145 cm)
  • {{convert|14.1|-|14.6|hand|cm}} → 14.1–14.6 hands (145–157 cm)
  • {{convert|50|-|57|in|hand}} → 50–57 inches (12.2–14.1 hands)
  • {{convert|2|-|3|m|hand}} → 2–3 metres (19.3–29.2 hands)
  • {{convert|57|or|59|in|hand|abbr=on}} → 57 or 59 in (14.1 or 14.3 h)
  • {{convert|137|-|139|cm|hand|lk=on}} → 137–139 centimetres (13.2–13.3 hands)
  • {{convert|37|–|162|cm|hand|2|abbr=in|lk=out}} → 37–162 cm (3.2 12–16.0 hands)
  • {{convert|37|–|162|cm|hand|0|abbr=in|lk=in}}   → 37–162 cm (4–16 hands)

Unlike most Convert subtemplates, Convert/hand has 4 sections of special calculations to transform amounts in "hands.inches" notation, for x-to-hands, hands-to-x, range-to-hands, or hands-to-range of other units. The logic changes any fractional hands into decimals .1, .2 or .3 by checking parameter 2 to have "(" using {{padleft:|1|(62) }} then resetting parameter 2, with the fraction multiplied by 100 & divided by 250, as one-tenth the multiple of 25. This is the first Convert subtemplate to calculate numbers which are not in decimal format (where ".1" is ढाँचा:Convert/numdisp not ढाँचा:Convert/numdisp), as would be a complex format also for hexadecimal or binary numbers.

References[स्रोत सम्पादन]

  1. "Horse Height Conversion", Onlineconversion.com, web: OC-horse.