user3505566
user3505566

Reputation: 13

How to check if divided number is integer and how to take out of symbols row in Delphi?

I want to take out of symbols row all integer, which divide with 3. Can someone please help me how to do this?

Upvotes: 0

Views: 156

Answers (1)

David Heffernan
David Heffernan

Reputation: 612874

Check that the remainder when divided by 3 is zero:

IsMultipleOfThree := (num mod 3) = 0;

I'm not sure what you mean by "take out of symbols row".

Upvotes: 2

Related Questions