Express

as a fraction.`D.toFixed( 1 )`

`D`

The number

is in the tenths place, so we have `T``cardinal( T )` tenths.

`Cardinal( T )` tenths can be written as

.`fraction( T, 10 )`

Express

as a fraction.`D.toFixed( 2 )`

`D`

The number

is in the tenths place, so we have `T``cardinal( T )` tenths.

`Cardinal( T )` tenths can be written as

.`fraction( T, 10 )`

The number

is in the hundredths place, so we have `H``cardinal( H )` hundredths.

`Cardinal( H )` hundredths can be written as

.`fraction( H, 100 )`

Add the two parts together.

`fraction( T, 10 )` + `fraction( H, 100 )`

`= `

`fraction( T * 10, 100 )` + `fraction( H, 100 )`

`= `

`fraction( T * 10 + H, 100 )`