JS的四舍五入方法及<label>标签的用法

      Programme 2006-7-19 10:31

写S'日记帐用到的

function  ForDight(Dight,How) {  //Dight要格式化的数字,How要保留的小数位数
 Dight = Math.round(Dight*Math.pow(10,How))/Math.pow(10,How); 
 return Dight; 

<input id="payout" style="border:0px" type="radio" name="point" value="0" checked="true"><label for="payout">支出</label>

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}