Stretchwickster
Programmer
Hi,
I want to be able to affirm that the first two digits of an 8-digit number are equal to 01. I'm familiar with achieving this when manipulating strings but not with numbers - could I use some kind of integer division function that returns just the integer part of the result e.g. in another programming language I would do
and it returns the integer part of the result
Clive![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
I want to be able to affirm that the first two digits of an 8-digit number are equal to 01. I'm familiar with achieving this when manipulating strings but not with numbers - could I use some kind of integer division function that returns just the integer part of the result e.g. in another programming language I would do
Code:
anumber div 100
Clive
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)