{"id":33,"date":"2010-08-21T08:52:02","date_gmt":"2010-08-21T08:52:02","guid":{"rendered":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/?p=33"},"modified":"2010-08-21T08:52:02","modified_gmt":"2010-08-21T08:52:02","slug":"hezke-formatovani-cisel-v-php","status":"publish","type":"post","link":"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/hezke-formatovani-cisel-v-php\/","title":{"rendered":"Hezk\u00e9 form\u00e1tov\u00e1n\u00ed \u010d\u00edsel v PHP"},"content":{"rendered":"<div class=\"958545b2ffe6a18f89c3ac8a7be9162a\" data-index=\"3\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-9849429965459928\";\r\n\/* Blog 300x250 \u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bdl\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00a1nky *\/\r\ngoogle_ad_slot = \"0479547637\";\r\ngoogle_ad_width = 300;\r\ngoogle_ad_height = 250;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Takov\u00e1 kr\u00e1sn\u00e1 funkce v PHP je number_format. Um\u00ed zaokrouhlit a z\u00e1rove\u0148 doplnit odd\u011blovac\u00ed znaky.<\/p>\n<p>Nap\u0159\u00edklad:<br \/>\n$vystup=number_format($puvodni_cislo,0,&#8221;,&#8221;,&#8221; &#8220;);<br \/>\nn\u00e1m vezme \u010d\u00edslo ulo\u017een\u00e9 v prom\u011bnn\u00e9 $puvodni_cislo a:<\/p><!--CusAds0-->\n<li>zaokrouhl\u00ed ho na 0 desetinn\u00fdch m\u00edst\n<li>pou\u017eije desetinnou \u010d\u00e1rku (ta je v pevn\u00edch dvojit\u00fdch uvozovk\u00e1vh a m\u016f\u017ee m\u00edsto n\u00ed b\u00fdt i jin\u00fd znak\n<li>odd\u011bl\u00ed tis\u00edce mezerou, nap\u0159\u00edklad 2 000 000 (mezera je v posledn\u00edch dvojit\u00fdch uvozovk\u00e1ch a tak\u00e9 m\u016f\u017ee m\u00edsto n\u00ed b\u00fdt jin\u00fd znak.<br \/>\n<div class=\"958545b2ffe6a18f89c3ac8a7be9162a\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"pub-9849429965459928\";\r\n\/* Blog 234x60 texty, vytvo\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00c2\u00af\u00c3\ufffd\u00c2\u00bf\u00c3\ufffd\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\u00af\u00c2\u00bf\u00c2\u00bd\u00c3\ufffd\u00ef\u00bf\u00bd\u00c3\ufffd\u00c2\u00bdeno 10.1.11 *\/\r\ngoogle_ad_slot = \"1054435175\";\r\ngoogle_ad_width = 234;\r\ngoogle_ad_height = 60;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Takov\u00e1 kr\u00e1sn\u00e1 funkce v PHP je number_format. Um\u00ed zaokrouhlit a z\u00e1rove\u0148 doplnit odd\u011blovac\u00ed znaky. Nap\u0159\u00edklad: $vystup=number_format($puvodni_cislo,0,&#8221;,&#8221;,&#8221; &#8220;); n\u00e1m vezme \u010d\u00edslo ulo\u017een\u00e9 v prom\u011bnn\u00e9 $puvodni_cislo a: zaokrouhl\u00ed ho na 0 desetinn\u00fdch m\u00edst pou\u017eije desetinnou \u010d\u00e1rku (ta je v pevn\u00edch dvojit\u00fdch uvozovk\u00e1vh a m\u016f\u017ee m\u00edsto n\u00ed b\u00fdt i jin\u00fd znak odd\u011bl\u00ed tis\u00edce mezerou, nap\u0159\u00edklad 2 000 000 &hellip; <a href=\"http:\/\/6378.wms78.wedos.ws\/subdom\/blog\/hezke-formatovani-cisel-v-php\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Hezk\u00e9 form\u00e1tov\u00e1n\u00ed \u010d\u00edsel v PHP<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,23],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-formatovani-cisel-php","tag-php"],"_links":{"self":[{"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":1,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":34,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions\/34"}],"wp:attachment":[{"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.79.cz\/subdom\/blog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}