Inside Macintosh: Operating System Utilities /
Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
Routines / Multiplying and Dividing Fixed-Point Numbers

### FracMul

You can use the `FracMul` function to multiply a variable of type `Fract` with another variable of type `Fract` or with a variable of type `Fixed` or `LongInt`.

```FUNCTION FracMul (a, b: Fract): Fract;
```
`a`
The first operand, which can be a variable of type `Fract` or a variable of type `Fixed` or `LongInt`.
`b`
The second operand, which can be a variable of type `Fract` or a variable of type `Fixed` or `LongInt`.
##### DESCRIPTION
The `FracMul` function returns the product of the numbers specified in the `a` and `b` parameters. At least one of `a` or `b` should be a variable of type `Fract`.

The returned value is in the format of a `LongInt` number if one of `a` and `b` is a `LongInt` number. It is a `Fixed` number if one of `a` or `b` is a `Fixed` number. It is a `Fract` number if both `a` and `b` are `Fract` numbers.

Overflows are set to the maximum representable value with the correct sign (\$80000000 for negative results and \$7FFFFFFF for positive results).