internal static bool Get(this JsonData data, ref double val) { bool ret = false; if (null != data && (data.IsDouble || data.IsInt || data.IsLong)) { ret = true; val = data.AsDouble(); } return(ret); }
public static bool Get(this JsonData data, ref double val) { bool ret = false; if (data.IsDouble || data.IsInt || data.IsLong) { ret = true; val = data.AsDouble(); } return(ret); }
internal static float AsFloat(this JsonData data) { return((float)data.AsDouble()); }