double to float

        double xmax = xvalue[0, xvalue.Length];

        XLimMax = (float)xmax;
原文地址:https://www.cnblogs.com/greencolor/p/1557810.html