ढाँचा:Convert/hand

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट
Jump to navigation Jump to search

13.2 hands (५४ इन्च)


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}} → ५७ इन्च (१४.१ hand)
  • {{convert|2|m|hand}} → २ मिटर (१९.३ hand)
  • {{convert|9.1|hand|in}}     → ९.१ hand (३७ इन्च)
  • {{convert|14.1|hand|in}}     → १४.१ hand (५७ इन्च)
  • {{convert|14.1|hand|cm}}   → १४.१ hand (१४५ सेमी)
  • {{convert|14.1|hand|in cm}} → १४.१ hand (५७ इन्च; १४५ सेमी)
  • {{convert|14.1|-|14.6|hand|cm}} → १४.१–१४.६ hand (१४५–१५७ सेमी)
  • {{convert|50|-|57|in|hand}} → ५०–५७ इन्च (१२.२–१४.१ hand)
  • {{convert|2|-|3|m|hand}} → २–३ मिटर (१९.३–२९.२ hand)
  • {{convert|57|or|59|in|hand|abbr=on}} → ५७ वा ५९ इन्च (१४.१ वा १४.३ h)
  • {{convert|137|-|139|cm|hand|lk=on}} → १३७–१३९ सेन्टिमिटर (१३.२–१३.३ hand)
  • {{convert|37|–|162|cm|hand|2|abbr=in|lk=out}} → ३७–१६२ सेमी (३. –१६.० hand)
  • {{convert|37|–|162|cm|hand|0|abbr=in|lk=in}}   → ३७–१६२ सेमी (४–१६ hand)

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 14 not 110), as would be a complex format also for hexadecimal or binary numbers.

References[सम्पादन गर्ने]

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