Merge pull request #5198 from jguthrie100/convert_input_to_float

Allow Float values in height input box
This commit is contained in:
Bryan Housel
2018-08-03 07:24:50 -04:00
committed by GitHub
+1 -1
View File
@@ -92,7 +92,7 @@ export function uiFieldText(field, context) {
// parse as a number
function parsed(val) {
return parseInt(val || 0, 10) || 0;
return parseFloat(val || 0, 10) || 0;
}
// clamp number to min/max