Closed skearnes closed 4 years ago
Note that this also affects loadRaw
Also affects unload{Process,Raw}
Also affects add{Process,Raw}
Also affects various functions in codes.js
Also: update the variable names (see https://github.com/Open-Reaction-Database/ord-schema/pull/339#discussion_r485778799)
@connorcoley my solution in #350 is to look at the value in the text field and, if it can be parsed as an integer, use integer_value
instead of float_value
. This means that even numbers entered as e.g. 140.0
will be converted to integer_value
in the Data
message.
Is this what we want? Or do we want to expand the number
radio button to float
and integer
?
TODO after #339 is merged.