mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
convert to string for convert_base
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
032e552f6c
commit
c428bb14de
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ const baseValues = {
|
|||
},
|
||||
convert_base(value, from, to) {
|
||||
try {
|
||||
// :joy:
|
||||
if (typeof value === "number") value = value.toString();
|
||||
return convertBase(value, from, to);
|
||||
} catch (_) {
|
||||
return "";
|
||||
|
|
Loading…
Add table
Reference in a new issue