Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

jtoken value is not exact

//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
ADD COMMENT
Topic
Name
9+7 =