Can't Cast `JsonNumber` to `Double`
Closed this issue · 1 comments
hughesjs commented
This segment in PrimitiveConverter
:
if (type == typeof(double))
{
return (double)((JsonNumber)jsonValue).Value;
}
Seems to throw this exception for 26.8428
:
Cannot convert type 'JsonLite.Ast.JsonNumber' to 'double'
hughesjs commented
Nope, no it doesn't... Was throwing on something else, my bad