How to make compare coding for desimal value in VS2008?Hi all! I am new in programming and want to start make projects for mobile devises. I have problem with compairing decimal values as:15, 4000, 5439 etc. I can not fined code for this. Actualy I want to compair last digits of decimal values for example: if I have 54903 I want to compair last 903. Please can anybody help me to solve this problem? Thank You. Best regards<br/> Kanan© 2009 Microsoft Corporation. All rights reserved.Mon, 06 Jul 2009 05:46:18 Zbf017661-a355-438c-aa3e-f70e85bd8cc1http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#bf017661-a355-438c-aa3e-f70e85bd8cc1http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#bf017661-a355-438c-aa3e-f70e85bd8cc1kanan2009http://social.msdn.microsoft.com/Profile/en-US/?user=kanan2009How to make compare coding for desimal value in VS2008?Hi all! I am new in programming and want to start make projects for mobile devises. I have problem with compairing decimal values as:15, 4000, 5439 etc. I can not fined code for this. Actualy I want to compair last digits of decimal values for example: if I have 54903 I want to compair last 903. Please can anybody help me to solve this problem? Thank You. Best regards<br/> KananTue, 30 Jun 2009 18:04:16 Z2009-06-30T18:04:16Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#88e85661-ad18-40c9-9601-f48988eca616http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#88e85661-ad18-40c9-9601-f48988eca616Catherine Seahttp://social.msdn.microsoft.com/Profile/en-US/?user=Catherine%20SeaHow to make compare coding for desimal value in VS2008?Hi Kanan,<br/><br/>You can try the Decimal<span class=cs>.</span>Compare method:<br/><a href="http://msdn.microsoft.com/en-us/library/system.decimal.compare.aspx">http://msdn.microsoft.com/en-us/library/system.decimal.compare.aspx</a><br/><br/>Thanks.<br/><br/><br/>Catherine Sea<br/>www.dynamsoft.com<br/><a href="http://www.scmsoftwareconfigurationmanagement.com">www.scmsoftwareconfigurationmanagement.com</a>Wed, 01 Jul 2009 07:24:50 Z2009-07-01T07:24:50Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#07a2f553-3d16-4b74-8d5f-bd4c774fa6bahttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#07a2f553-3d16-4b74-8d5f-bd4c774fa6bakanan2009http://social.msdn.microsoft.com/Profile/en-US/?user=kanan2009How to make compare coding for desimal value in VS2008?thank you very much Catherine Sea! Your answer was very helpfull!best regards<br/> Kanan<br/>Sun, 05 Jul 2009 06:57:25 Z2009-07-05T06:57:25Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#5d62a954-2b4f-4ce2-82a1-5bbb7b005fe6http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/bf017661-a355-438c-aa3e-f70e85bd8cc1#5d62a954-2b4f-4ce2-82a1-5bbb7b005fe6Catherine Seahttp://social.msdn.microsoft.com/Profile/en-US/?user=Catherine%20SeaHow to make compare coding for desimal value in VS2008?<p>Glad I could help :). </p> <hr size=1> Catherine Sea<br/><a href="http://www.dynamsoft.com/">www.dynamsoft.com</a><br/><a href="http://www.scmsoftwareconfigurationmanagement.com/">www.scmsoftwareconfigurationmanagement.com</a>Mon, 06 Jul 2009 05:46:18 Z2009-07-06T05:46:18Z