TxBuild utils functions.
@type fraction() :: {integer(), integer()}
@spec number_to_fraction(number :: number()) :: fraction()