Fixed.RoundDown method
| Explanation | Returns the specified parameter truncated as a Fixed object. This method is a static method. It can be called without creating an object. The Fixed.RoundDown method truncation (when the number of digits = 0) is the closest integer in the direction that the absolute value of the value is smaller (closer to 0). | |
| Call format | var f = Fixed.RoundDown ( n [, d ]) | |
| Return value | Truncated value ( Fixed object) | |
| Arguments | n | Specify the number to be truncate as Fixed type, Number type, or String type. |
| integer d | Specify the digit you want to truncate. It can be specified by -14 to 3. 0 is truncates to the nearest whole number, and 3 is truncates after the third decimal place. If it is a negative number, it will be specified in the direction of the integer value. If omitted, it is 0. | |
| Exception | None | |
| Example of use | | |
| Related item | ||