Skip to main content

ConvertQuantityResult

The converted quantity and the factor used.

type ConvertQuantityResult {
conversionFactor: Float!
convertedQuantity: Float!
formatted: String!
fromUOM: UnitOfMeasure!
toUOM: UnitOfMeasure!
}

Fields​

ConvertQuantityResult.conversionFactor ● Float! non-null scalar​

The factor the quantity was multiplied by.

ConvertQuantityResult.convertedQuantity ● Float! non-null scalar​

The quantity in the to unit.

ConvertQuantityResult.formatted ● String! non-null scalar​

The converted quantity with its unit symbol.

ConvertQuantityResult.fromUOM ● UnitOfMeasure! non-null object​

The unit converted from.

ConvertQuantityResult.toUOM ● UnitOfMeasure! non-null object​

The unit converted to.

Returned By​

convertQuantity query