Solved

how do u find modulos in delphi?

Posted on 2000-04-28
1
139 Views
Last Modified: 2010-04-04
what is the delphi equivalent of the C command x=y%z?
here x contains teh remainder of y divided by z
0
Comment
Question by:twilight_prince
1 Comment
 
LVL 15

Accepted Solution

by:
simonet earned 15 total points
ID: 2759072
Use the MOD operator. Example:

X := Y mod z;

All operands must be of an integer type (Integer, Smallint, byte, word, dword, cardinal, longint, etc).

Yours,

Alex
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 69
QRReport  TQrmemo vertical stretching 1 42
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 56
Graphics32 under Delphi 10.1 Berlin 2 34
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
A short film showing how OnPage and Connectwise integration works.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now