fix(parse): now parser let entry values with comma
This commit is contained in:
1 parent
cff06ea8b0
commit
1aa393345b
1 file changed
+2
-1
@@ -27,7 +27,8 @@ pub fn parse_fields(all_inputs: Vec<Input<Entry>>) -> Result<SignalReduce> {
|
||||
|
||||
for (i, input) in all_inputs.iter().enumerate() {
|
||||
let input_text_buffer = input.get_input();
|
||||
let extracted_value = f64::from_str(input_text_buffer.text().as_str().trim())?;
|
||||
let extracted_value =
|
||||
f64::from_str(input_text_buffer.text().replace(',', ".").as_str().trim())?;
|
||||
values[i] = extracted_value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user