home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


sqrt

sqrt 
num

Returns the square root of num , or $_ if omitted. For other roots such as cube roots, you can use the ** operator to raise something to a fractional power.


Previous: Reference: sprintf Perl in a Nutshell Next: Reference: srand
Reference: sprintf Book Index Reference: srand

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.