Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 77
  • Last Modified:

how to get hundreds part from the number

i have a list from 1 to 1000.
1
2
3
...
100
101
102
....
999
1000


i need to get only 100, 200, 300 and so on
how to that in Access
it has to do with the mode part?


Thank you
0
rfedorov
Asked:
rfedorov
1 Solution
 
PatHartmanCommented:
I think you are asking how to do this in a query.

Select * from your table
Where somefield mod 100 = 0;

The mod operator returns the remainder.  So, any number that ends in 100 will return 0 as the remainder when divided by 100.
2
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now