M mshirwan Registered User. Local time Today, 08:08 Joined Jul 25, 2004 Messages 20 Aug 2, 2004 #1 Does anyone know what is the function for rounding a number to the nearest integer, I tried int() but this does cutting, i.e. cuts the fraction bit. any ideas?
Does anyone know what is the function for rounding a number to the nearest integer, I tried int() but this does cutting, i.e. cuts the fraction bit. any ideas?
Brianwarnock Retired Local time Today, 08:08 Joined Jun 2, 2003 Messages 12,701 Aug 2, 2004 #2 Have you tried Round ? Brian
M mshirwan Registered User. Local time Today, 08:08 Joined Jul 25, 2004 Messages 20 Aug 2, 2004 #3 that worked Thanks mate, that worked fine, I though it would be a built in function