diff options
| author | Teddy Wing | 2018-03-15 17:40:17 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-03-15 17:44:22 +0100 |
| commit | 1a9656e9d69d598cd1239c372f1002d21ec73d09 (patch) | |
| tree | e6ef4ae35b3d064d4d285f892969568d3b74c9ae /lib/compliance_control_set_copier.rb | |
| parent | 18bf033af20f883e92a4f05bbba5070d70fe9d90 (diff) | |
| download | chouette-core-1a9656e9d69d598cd1239c372f1002d21ec73d09.tar.bz2 | |
RouteWayCostUnitConverter: Round kilometres to 2 decimal places
The JavaScript validation doesn't pass if we have more than two decimal
places (I think because it uses a number field step value of 0.01).
Round the values to allow them to pass frontend validation.
Refs #6203
Diffstat (limited to 'lib/compliance_control_set_copier.rb')
0 files changed, 0 insertions, 0 deletions
