Important This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent for BMC Helix Operations Management 24.1.

fmod()


Return the floating point remainder of a division operation.

Syntax

fmod(dividend,divisor)

 

Parameters

Parameter

Definition

dividend

floating point value whose remainder will be returned after being divided by divisor

divisor

floating point value that will divide dividend

Description

The fmod() function returns the floating point remainder of the division ( dividend )/( divisor ).

Example

The following fmod() function will return the floating point remainder from the division 10.3 divided by 3.1 (which is 1):

print(fmod(10.3,3.1) . "\n");

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*