Thank you monks for your responses.
I dont want to round off the number. So i started using bignum module to specify the precision as 17.
So if a number is actually 500.123, as per the precision of 17, it becomes 500.12300000000000000 which is ideal and intended. But then i would need it as 500.123
Any other perl modules i can use to accomodate this scenario.