//获取样式
var toFixTwo = function(val) {
	if (val === undefined) return "-";
	if (val === null) return "-";
	if (isNaN(val)) return "-";
	if (val === '') return "-";
	if (val === 0) return "-";
	return parseFloat(parseFloat(val).toFixed(2)) ;
}

module.exports = {
	toFixTwo: toFixTwo,

}
