{"author_url":"https://blog.hatena.ne.jp/sygh/","provider_name":"Hatena Blog","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Tips","C#",".NET Framework","C++"],"url":"https://sygh.hatenadiary.jp/entry/2013/10/27/215749","published":"2013-10-27 21:57:49","blog_url":"https://sygh.hatenadiary.jp/","title":"printf\u3068String.Format","image_url":"http://ecx.images-amazon.com/images/I/51MgH8Jmr3L.jpg","blog_title":"sygh\u306e\u65b0\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u7f6e\u304d\u5834","height":"190","type":"rich","width":"100%","author_name":"sygh","description":"\uff08\u3053\u308c\u306f2013-06-27\u306b\u66f8\u3044\u305f\u6545OCN\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u3092\u79fb\u690d\u3057\u305f\u3082\u306e\u3067\u3059\uff09.NET\u306eString.Format()\u3084Console.Write()/WriteLine()\u306e\u66f8\u5f0f\u3092\u99c6\u4f7f\u3059\u308c\u3070\u3001\u307b\u307cC\u306eprintf\u7cfb\u3092\u30ab\u30d0\u30fc\u3067\u304d\u308b\u3093\u3067\u3059\u304c\u3001MSDN\u306e\u66f8\u5f0f\u6307\u5b9a\u69cb\u6587\u306e\u8aac\u660e\u306b\u3042\u308b\u3001 % [flags] [width] [.precision] [{h | l | ll | I | I32 | I64 }]type\u306e\u3046\u3061\u306e[flags]\u306f\u3061\u3087\u3063\u3068\u5de5\u592b\u304c\u8981\u308a\u305d\u3046\u306a\u306e\u3067\u30e1\u30e2\u3002\u4ee5\u4e0b\u3001C/C++\u3068C#\u306e\u5bfe\u6bd4\u3002 printf(\"%6.2f\", 12.345); // \" 12.35\" \u306f Console.Writ\u2026","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2013%2F10%2F27%2F215749\" title=\"printf\u3068String.Format - sygh\u306e\u65b0\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}