kodyWiG

Tag: floor

10 gru 2009

Losowe ustawienie wartości combobox select

var f = document.f2;
f.elements[i].options[Math.floor((f.elements[i].length-1)*Math.random())+1].selected=true;
combo elements floor match options random Select selected
25 cze 2009

Obliczanie wartości liczby w smartach

!{count assign="count_d" data="$c_o_data"}!
!{math equation="x" x=$count_d*0.6 assign="count_d_p60"}!

lub z zaokrąglenie

!{math equation="floor(x)" x=$count_d/2 assign="count_d2"}!
assign floor Math
25 cze 2009

Wywolanie funkcji floor w smartach

!{count assign="count_d" data="$c_o_data"}!
!{math equation="floor(x)" x=$count_d/2 assign="count_d2"}!

assign euation floor Math
Copyright © | kodyWiG Theme
  • JavaScript 216
  • PHP 139
  • CSS 105
  • HTML 74
  • GMap 47
  • Linux 46
  • PostgreSQL 34
  • MySQL 33
  • VBSCRIPT 32
  • Wordpress 27
  • jQuery 27
  • Smarty 27
  • Windows 24
  • SQL 19
  • htaccess 18
  • Perl 17
  • System 11
  • Programy 11
  • SQL Server 10
  • Rewrite 9
  • Leaflet 9
  • HTTP 8
  • VBA 7
  • React 7
  • Telefony 6
  • WYSIWYG 6
  • XML 6
  • Intellij IDEA 6
  • Nodejs 5
  • SVG 4
  • Rejestr 3
  • Docker 3
  • JSON 3
  • Nauka 2
  • Bez kategorii 1
  • Opera 1
  • Github 1
  • Rollup 1