/*
* @descript: 保留两位小数,如果小数点大于两位小数,就向上取值保留两位小数<br/>
* @time 2016-07-13
*/
function mathCeil(number){
var result = Number(number);
text = result.toString();
var pointIndex = text.indexOf(".");
if(pointIndex != -1){
var pointText = text.substring(pointIndex + 1,text.length);
if(pointText.length > 2){
result = (result + 0.01).toFixed(2);
}else{
result = result.toFixed(2);
}
}else{
result = result.toFixed(2);
}
return result;
}