Results 1 to 5 of 5
Thread: jquery
Hybrid View
-
17th January 2010 00:49 #1
jquery
3.468964085456 3.47., jquery, . , , .
-
17th January 2010 01:01 #2
o .
dec e . num e .Code:var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
, , 100 (10 ), , 100.
round, floor ceil.Code:var result = Math.round(num*100)/100;
jQuery,
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
17th January 2010 01:05 #3
jQuery?
http://www.javascriptkit.com/javatutors/round.shtml
ps - , .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
17th January 2010 05:36 #4
-
17th January 2010 12:11 #5
Pesho. , . jquery - PHP jquery genn. , . .
jquery . . javascript jquery.Code:$( function(){ $("table#calc input").change( function(){ $(this).parent().siblings("td:last").prev() .text( parseFloat( $(this).parent().siblings("td:first").next().next().text() ) *(1- (parseFloat( $(this).val() )/100) )); } ); } );Last edited by hotris; 17th January 2010 at 20:03.




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in