API Reference > imodeljs-Quantity > Quantity > Format > parseScientificType parseScientificType MethodStatic This method parses input string that is typically extracted for persisted JSON data and validates that the string is a valid ScientificType. Throws exception if not valid. parseScientificType(scientificType: string, formatName: string): ScientificType Parameter Type Description scientificType string formatName string Returns - ScientificType Defined in quantity/src/Formatter/Format.ts Line 75 Last Updated: 11 June, 2024