cfuel decfimal
This commit is contained in:
@ -383,7 +383,7 @@
|
||||
data: 'fuel_consume',
|
||||
className: 'text-end', render: function(data, type, row, meta) {
|
||||
// const mileage = (row.finishMileage !== null && row.startMileage !== null) ? (row.finishMileage - row.startMileage) : row.mileage;
|
||||
return (parseFloat(data).toFixed(2));
|
||||
return (parseFloat(data/10).toFixed(2));
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user