LibreOffice 7.1 Help
Returns the integer remainder of a division.
Резултат = израз MOD израз2
Цел број
Result: Any numeric variable that contains the result of the MOD operation.
Expression1, Expression2: Any numeric expressions that you want to divide.
Sub ExampleMod
печати 10 mod 2.5 REM врати 0
печати 10 / 2.5 REM врати 4
печати 10 mod 5 REM врати 0
печати 10 / 5 REM врати 2
печати 5 mod 10 REM врати 5
печати 5 / 10 REM врати 0.5
End Sub