文档 Hugo函数 cast Hugo cast.ToFloat cast.ToFloat INPUT Hugo 将值转换为十进制浮点数(以 10 为基数)。 Hugo cast.ToInt cast.ToInt INPUT Hugo 将值转换为十进制整数(以 10 为基数)。 Hugo cast.ToString cast.ToString INPUT Hugo 将值转换为字符串。