Solved

how do u find modulos in delphi?

Posted on 2000-04-28
1
143 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

685 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