The num parameter is a number that you want to round to a certain number of
decimal places.
Optionaldigit: number = 10The digit parameter in the roundFixed function specifies the number
of decimal places to round the number to. By default, it is set to 10 if not provided explicitly.
The function roundFixed returns a number that is rounded to the specified number of
decimal places (default is 10 decimal places).
The
roundFixedfunction in TypeScript rounds a number to a specified number of decimal places.