conv

conv

conv介绍

conv(num, from_base, to_base) - 将数值 num 从 from_base 进制转换为 to_base 进制。

Examples:

> SELECT conv('100', 2, 10);
 4
> SELECT conv(-10, 16, -10);
 -16

Since: 1.5.0