JavaScriptãçãæ¸ãããã®ã·ã§ã¼ãã³ã¼ãé ç¥ã£ã¦ããã¨ã¡ãã£ã¨ã ãã³ã¼ããç°¡æ½ã«æ¸ãããããããªãã·ã§ã¼ãã³ã¼ãéã§ãã æ稿æ¥2014å¹´12æ25æ¥ æ´æ°æ¥2014å¹´12æ25æ¥ å°æ°ç¹ä»¥ä¸åãæ¨ã¦ ãMath.floorãã§åãæ¨ã¦ã§ããã Math.floor(12.6598); //12 æ°å¤ã®åã«ã~~ãä»ããã ãã§ãã§ãã¾ãã ~~12.6598; //12 æ¡æ°ã®å¶å¾¡ ãï½eãã«ç¶ãæ°åã§æ¡æ°ãå¶å¾¡ã§ãã¾ãã 1e1 //10 1e2 //100 1e3 //1000 1e4 //10000 1e5 //100000 2ã®ç´¯ä¹ã¯ã·ããæ¼ç®å 2ã®ç´¯ä¹ã¯å·¦ã·ããæ¼ç®åï¼<<ï¼ã§ã§ãã¾ãã 200 << 1; //400 200 << 2; //800 200 << 3; //1600 éã¯å³ã·ããæ¼ç®åï¼>>ï¼ã§ãã 200 >> 1; //100 200 >> 2
{{#tags}}- {{label}}
{{/tags}}