å°æ°ç¹ãåãæ¨ã¦ãåãä¸ããåæ¨äºå ¥ããããã§ã¯ãæ°å¤ã®ç«¯æ°å¦çï¼ä¸¸ããæ´æ°åï¼ãè¡ãæ¹æ³ã説æãã¾ãã åãæ¨ã¦ãå°æ°ç¹ä»¥ä¸ãåãæ¨ã¦ãã«ã¯ãMathã¯ã©ã¹ï¼Systemåå空éï¼ã®Floorã¾ãã¯Truncateã¡ã½ããã使ç¨ãã¾ãã æ£ã®æ°ã丸ããã®ã§ããã°ãã©ã¡ãã®ã¡ã½ãããåãçµæï¼æ´æ°é¨åããã®ã¾ã¾æ®ãã¦å°æ°ç¹ä»¥ä¸ã0ã¨ããï¼ã«ãªãã¾ããéããç¾ããã®ã¯ãè² ã®æ°ã丸ããæã§ããè² ã®æ°ã丸ããæãFloorã¡ã½ããã¯ããå°ããªæ´æ°ã«ä¸¸ãããï¼è² ã®ç¡é大ã¸ã®ä¸¸ãï¼ãTruncateã¡ã½ããã¯ãã大ããªæ´æ°ã«ä¸¸ãããã¾ãï¼0ã¸ã®ä¸¸ãï¼ãä¾ãã° -1.5 ã丸ããã¨ãFloorã§ã¯ -2 ãTruncateã§ã¯ -1 ã«ãªãã¾ãã VB.NETã®Inté¢æ°ã¯Floorã¡ã½ããã¨åã丸ãæ¹ãããFixé¢æ°ã¯Truncateã¡ã½ããã¨åã丸ãæ¹ããã¾ãã C#ã§ã¯ããã£ã¹ãã§å°æ°ãæ´æ°ã«å¤
{{#tags}}- {{label}}
{{/tags}}