[#BloombergLP-bdldfp-DecimalUtil-fmod-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::fmod
:relfileprefix: ../../../
:mrdocs:

`fmod` overloads

== Synopses

Declared in `&lt;bdldfp&lowbar;decimalutil&period;h&gt;`

Same as the related overload above for `fmod`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]
xref:BloombergLP/bdldfp/DecimalUtil/fmod-0a.adoc[fmod](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] x,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fmod-0a.adoc[_» more&period;&period;&period;_]#

Return the remainder of `x` divided by `y`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]
xref:BloombergLP/bdldfp/DecimalUtil/fmod-07.adoc[fmod](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] x,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fmod-07.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `fmod`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]
xref:BloombergLP/bdldfp/DecimalUtil/fmod-08.adoc[fmod](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] x,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/fmod-08.adoc[_» more&period;&period;&period;_]#

== Return Value

remainder of `x` divided by `y`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| dividend
| *y*
| divisor
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
