-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
# cargo install --force calc@=0.4
~> calc "1 + 1"
2
~> calc "1.5 + 1"
2.5# cargo install --force calc@=0.5
~> calc "1 + 1"
2
~> calc "1.5 + 1"
Error: parsing: "1.5" cannot be parsed as Value given radix 10
Caused by:
"1.5" cannot be parsed as Value given radix 10also what is the easiest way to extract a numeric value with the new Value API? if the returned value is an integer, it seems like i need to do multiple .try_intos for each Value type when before i could simply do Context::<f64>::default().evaluate(&output) and always get an f64, even if the result was an integer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels