formatting - Handsontable 中的小负数格式不正确
问题描述
Using handsontable
, when the options thousandSeparated
and trimMantissa
are activated, then, small negative numerical values appear as -
instead of the expected 0
(or -0
).
我在这里缺少什么吗?
numericFormat:{
pattern: {
mantissa:1,
trimMantissa:true,
thousandSeparated:true,
}
这是说明问题的 jsFiddle 的链接:https ://jsfiddle.net/cp95wo0r/32/ 。
解决方案
推荐阅读
- css - 文本之间的空格
- r - 在 R 中的 plot_ly (plotly) 中获取 ylim
- python - 具有特定 dtypes 的 Pandas dataframe.to_numpy()
- python - 带有列表条目熊猫数据框的数据透视表
- python - 如何在 Django ORM 中获取常量列?
- javascript - 如何访问超出其承诺的信息
- javascript - 如何获取上一个日期期间
- android - Android sourceSets 有没有办法使用嵌套风味结构?
- leaflet - 搜索特定名称 onEachFeature
- python - for 循环中的 if 语句打印两次