Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

jtoken value is not exact double

//jToken.Value<double>() in some cases don't give the exact value (if jToken is 0.7 than you might get 0.6999...)
//For exact parsing:
double.Parse(jToken.Value<string>());
 
PREVIOUS NEXT
Tagged: #jtoken #exact #double
ADD COMMENT
Topic
Name
4+4 =