Windows Forms
VS Express Editions
Smart Device
Game Technologies
Visual J#
Visual C++
Visual C#
Visual FoxPro
.NET Development
SQL Server
Architecture
Windows Live
Microsoft ISV
Visual Basic
Windows Vista
Software Development Network>> VS Express Editions>> How to Check if Integer Divisable by 100
How to Check if Integer Divisable by 100
Hot Topic
Webcam???
probing
Webbrowser printer settings
Variables values
can't connect to sqlexpress
Where's the Icon Designer?
Suite Integration Toolkit Executable has encountered problem
Error with CurDir!
Couple Of Easy Questions
DLL project with C++ Express
VS Express Editions
SQL server with VB express
Public Variables in C#
What now? - x86
Using INI Files
newline character settings in vs express editor to unix standards?
Question about button to website
Difficulty adding a parameter to a querry
Transparent Gifs
Deploying a Web Developer 2005 web site with a database connection
Access - Autoincrement problem
How to Check if Integer Divisable by 100
How could I check if an integer is divisable by 100
For example 100, 200, 300, 400, ...
Answer this question
How to Check if Integer Divisable by 100
VS___Programmer
Thanks, That worked
trevorgmitchell
if (x Mod 100 = 0)
I *think*. Certainly in C# it's if (x % 100 ==0 ), and a quick google leads me to believe that Mod replaces to mod operator (%) in VB.NET.
Mod returns the remainder when the left value is divided by the right value, so if it's 0, then the number divided by 100 exactly.
How to Check if Integer Divisable by 100
Answer this question
How to Check if Integer Divisable by 100
VS___Programmer
trevorgmitchell
I *think*. Certainly in C# it's if (x % 100 ==0 ), and a quick google leads me to believe that Mod replaces to mod operator (%) in VB.NET.
Mod returns the remainder when the left value is divided by the right value, so if it's 0, then the number divided by 100 exactly.