Can I use data type number as an integer?

Can I use data type number as an integer?

The data type ‘number’ can be used as an integer by eliminating the decimal places. Also re-define the measures wherever required.