RoundDown

RoundDown ( double number, int numberOfDigits);

Default values:

numberOfDigits: 2

Description

Rounds a number towards zero to a certain number of digits.

Input parameters

Parameter Default value Description
number - Defines the number to round down.
numberOfDigits 2 Defines the number of digits to which the number is rounded down.

Example

See the RoundUp function example.