I am very new to Perl and very new to programming in general and would therefore be grateful for very, very simple answers.
How do I use Perl to round a number to a given number of significant figures rather than to a given number of decimal places?
Thank you for any help.