Simple math ecuation B = A - round(A);
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Zac Sent: Friday, December 05, 2008 11:31 AM To: DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting Subject: [DotNetDevelopment] Dividing a number Quick question. Say I have a decimal 160.37863763 . Is there an easy way to break it up into a whole number and a decimal? i.e. 160 in number A and .37863763 in number B? It's simple to do it by converting to a string and chopping it up, but is there a way to do it while keeping it in a number type? Thank! Obe Provincial Ciego de Avila Ave de los Deportes, esq. Circunvalacion Norte Telef: 200708
