【发布时间】:2018-10-25 18:07:20
【问题描述】:
我在我的应用程序中使用 angular-handsontable。我需要显示一个十进制值(22.45)而不四舍五入到最接近的值。当我使用时,
columns: ({ type: string; numericFormat: { pattern: string; }; } | {})[];
this.data = [
['99.259999999999']
];
this.columns = [
{type: 'numeric', numericFormat: { pattern: '0.00%' }}
];
我的值显示为 99,而不是 99.25。我们如何使用handsontable 实现这一目标
【问题讨论】:
标签: angular decimal display handsontable