anirban adhikary anirbanadhikarygmailcom wed aug 6 2008 1101 wrote hi round decimal next nearest whole digit example 0123 1 123 2 47312 5 etc etc right extracting first digit using splice add one thanks unsubscribe email beginnersunsubscribeperlorg additional commands email beginnershelpperlorg httplearnperlorg use split function like val 0123 myabsplitval finala1 print valfinaln thanks regards anirban adhikary wed 06 aug 2008 112037 0530 round decimal next whole number