AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Sintaxis WLanguage / Palabras clave reservadas
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modulo (Reserved word)
In french: Modulo
Returns the remainder of a division.
Remark: Modulo can be used as keyword or as WLanguage function.
Example
// Retrieve the remainder of division
DivisionRemainder = modulo(21, 4) // DivisionRemainder is set to 1
// Equivalent to: DivisionRemainder = 21 Modulo 4
Syntax

Modulo function Hide the details

<Result> = Modulo(<Dividend> , <Divisor>)
<Result>: Integer
Remainder of division.
<Dividend>: Integer
Dividend of division.
<Divisor>: Integer
Divisor of division. A WLanguage error occurs if this parameter is set to 0.

Modulo keyword Hide the details

<Division Remainder> = <Dividend> Modulo <Divisor>
<Division Remainder>: Integer
Remainder of division.
<Dividend>: Integer
Dividend of division.
<Divisor>: Integer
Divisor of division. A WLanguage error occurs if this parameter is set to 0.
Component: wd290mat.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local