Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要显示和编辑高度精确的十进制数字 - 纬度和经度。ActiveScaffold 不断将我的值四舍五入到精度 6 刻度 3,我可以在某处将其更改为精度 11 刻度 8 吗?
谢谢
我已经有一段时间没有使用 ActiveScaffold 但也许这可以做到?
config.columns[:latitude].options[:format] = "%6.3f"