hch
2 天以前 104706c4e0ab2c573e8f69edd0a5299e5fb3f8bc
0312 公式支持long()类型配置
1个文件已修改
3 ■■■■ 已修改文件
Main/Utility/JaceCalculator.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Utility/JaceCalculator.cs
@@ -35,7 +35,8 @@
    }
    public static void Init()
    {
    {
        Engine.AddFunction("int", (Func<double, double>)(x => (int)x));
        Engine.AddFunction("long", (Func<double, double>)(x => (long)x));
    }
}