Perl ⺠ãã使ãé¢æ°ã»ã¢ã¸ã¥ã¼ã« ãã使ç¨ããé¢æ°ã»æ¨æºã¢ã¸ã¥ã¼ã«ã®ä¸è¦§ã§ãããããã®é¢æ°ãè¦ãã¦ããã°ãPerlããã便å©ãªãã®ã«ãããã¨ãã§ãã¾ãã詳細ãªè§£èª¬ã¯é¿ããç°¡åãªãµã³ãã«ãç´¹ä»ãã¦ãã¾ããæ»ãå¤ã®ãããã®ã«ã¤ãã¦ã¯$retã¨ããè¨å·ã§è¡¨ãã¦ãã¾ãã ã¾ãããã使ç¨ããç¹æ®å¤æ°ãæ¨æºã¢ã¸ã¥ã¼ã«ã«ã¤ãã¦ãã解説ãã¦ãã¾ããåé ç®ãããé¢æ°ã®è©³ç´°ã«ããªã³ã¯ãã¦ãã¾ãã®ã§ã便å©ã«ãå©ç¨ãã ããã æ°å¦é¢æ° æååæä½ é åæä½ ããã·ã¥æä½ ãã¡ã¤ã«å ¥åºå ãã¡ã¤ã«ã»ãã£ã¬ã¯ããªæä½ æå»ã»æé ãã®ä»ã®éè¦ãªé¢æ° é¢æ°ã¨ã¢ã¸ã¥ã¼ã«ã®ããã¥ã¡ã³ãã®èª¿ã¹æ¹ ãã使ç¨ããç¹æ®å¤æ° ãã使ç¨ããæ¨æºã¢ã¸ã¥ã¼ã« æ°å¦é¢æ° abs 絶対å¤ãæ±ããã«ã¯absé¢æ°ã使ç¨ãã¾ãã $ret = abs $num; abs(-3)ã¯3ã«ãªãã¾ãã sqrt æ£ã®å¹³æ¹æ ¹ãæ±ããã«ã¯ãsqrté¢æ°ã
{{#tags}}- {{label}}
{{/tags}}