>å°æ°ç¬¬ï¼ä½ãåæ¨äºå ¥ã®ä»æ¹ãåããã¾ããã ãããªé¢æ°ãä½ãã¨ããã®ã¯ã©ããï¼ ã¡ãªã¿ã«ãå°æ°ç¹ç¬¬ä¸ä½ãåæ¨äºå ¥ãããªãã round( val, 2 ); ã¨è¨ãå ·åã«å¼ã³åºãã° OKã #include <stdio.h> #include <stdlib.h> /* ************************************************************ é¢æ°åã round() ã 丸ãå¦çé¢æ° å¦çæ¦è¦ æµ®åå°æ°ç¹æ°ãæå®ããã精度ã§ä¸¸ããå¤ãè¿ã å¼æ° 1) val ï¼ ä¸¸ãããå¤ 2) precision ï¼ ç²¾åº¦ æ»ãå¤ æå®ç²¾åº¦ã§ä¸¸ããå¤ ************************************************************ */ double round( double val, int precisi
{{#tags}}- {{label}}
{{/tags}}