Which fraction is 9 inches

Example: Converting fractions of feet to inches to length
This example shows how FIF is used as a function and as a scaling unit.
The sFIF argument of the FIF function must be in one of the following two formats:
• A string of the format "n 'm-p / q", where n, m, p, and q are positive integers. The first element of the string (n ') represents the number of feet and the second element (m-p / q) represents the inches and fractional inches.
◦ The character string must contain at least n ', m or p / q. No decimal fractions are allowed.
◦ If n and m are specified and the apostrophe is missing for n, an error is displayed.
◦ If only n is specified without an apostrophe, the specification is interpreted as inches.
• A comma-separated list of one to three positive real numbers representing feet, inches, and fractional inches.
◦ The list must contain at least one number.
◦ All numbers can contain decimal fractions.
Set the system of units to SI and the result format to (decimal).
1. Set sFIF to a string that conforms to the format "n 'm-p / q".
2. Define the variable L as the output of the function FIF.
The unit and amount of the returned length depend on the selected system of units.
3. Delete the current unit of length, m, from the length result, then on the Math tab, in the Units group, click Units, and add the unit FIF from the Length category.
The length of 2,902 m is converted back to the original string with fractions of feet and inches.
4. Evaluate the FIF function, not specifying a value for the number of inches.
If a number is given without an apostrophe, it is interpreted as a number of feet.
5. Evaluate the FIF function, specifying the number of inches or a fraction of an inch rather than the number of feet.
6. Evaluate the FIF function, specifying the number of inches or a fraction of an inch rather than the number of feet with a comma-separated list.
In this case, a zero must be entered in each field that is not specified and is to the left of the field with the value specification.
7. Find the comma-separated list which, when passed to the FIF function, produces the result 1 m.
a. Evaluate 1 m, then change the unit to ft.
▪ A meter is 3 feet plus a fraction of a foot. Therefore, 3 is the first item in the list.
▪ The comma-separated list now looks something like this: 3, xx, x.x.
b. Evaluate the above fraction and change the result unit to to.
▪ Fractional feet are 3 inches plus a fraction of an inch. Therefore, the second element of the list also has the value 3, and the third element is the fraction 0.37008.
▪ The final comma-separated list is now 3, 3, 0.37008.
c. Pass the comma-separated list as an argument to the FIF function.
d. Evaluate 1 m, then change the unit to FIF.
One meter is 3 feet, 3 inches, and 47/127 inches.
Related topics