fix(parse): now parser let entry values with comma
This commit is contained in:
parent
cff06ea8b0
commit
1aa393345b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue