[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google API Common Protos Client - Class Fraction (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Type.Fraction)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Type.Fraction)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Type.Fraction)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Type.Fraction)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Type.Fraction)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Type.Fraction) \nReference documentation and code samples for the Google API Common Protos Client class Fraction.\n\nRepresents a fraction in terms of a numerator divided by a denominator.\n\nGenerated from protobuf message `google.type.Fraction`\n\nNamespace\n---------\n\nGoogle \\\\ Type\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNumerator\n\nThe numerator in the fraction, e.g. 2 in 2/3.\n\n### setNumerator\n\nThe numerator in the fraction, e.g. 2 in 2/3.\n\n### getDenominator\n\nThe value by which the numerator is divided, e.g. 3 in 2/3. Must be\npositive.\n\n### setDenominator\n\nThe value by which the numerator is divided, e.g. 3 in 2/3. Must be\npositive."]]