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