API Reference > imodeljs-Quantity > Quantity > ParserSpec > constructor constructor Method Constructor ParserSpec(outUnit: UnitProps, format: Format, conversions: UnitConversionSpec[]): ParserSpec Parameter Type Description outUnit UnitProps The name of a format specification. format Format Defines the output format for the quantity value. conversions UnitConversionSpec[] An array of conversion factors necessary to convert from an input unit to the units specified in the format.. Returns - ParserSpec Defined in quantity/src/ParserSpec.ts Line 26 Last Updated: 11 June, 2024