> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-bc559771.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Fraction

> Hedera protobuf Fraction represents a rational number with a numerator and denominator, commonly used to set custom token fees as a percentage.

A rational number, used to set the amount of a value transfer to collect as a custom fee.

| Field         | Type  | Description                                                                         |
| ------------- | ----- | ----------------------------------------------------------------------------------- |
| `numerator`   | int64 | The rational's numerator                                                            |
| `denominator` | int64 | The rational's denominator; a zero value will result in FRACTION\_DIVIDES\_BY\_ZERO |
