Skip to content

dos_fmod

Dale Fugier edited this page Nov 1, 2023 · 1 revision

Calculates the floating-point remainder of x/y.

Syntax

(dos_fmod numerator denominator)

Parameters

numerator

The numerator.

denominator

The denominator.

Returns

The floating point remainder, if successful.

nil on error.

Example

Command: (dos_fmod 5.3 2)
1.3
Command: (dos_fmod 18.5 4.2)
1.7
Clone this wiki locally