Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将 jni4net 代理类的 double 值转换Object为 .NET double?SimpleConvert.ToDouble(o)不起作用,因为它是 nt 类型IConvertible。
Object
double
Convert.ToDouble(o)
IConvertible
尝试首先将其转换为 .NET 端的 java.lang.Double。然后转换为 double 定义为 afaik。