remove octal repr for hex values

This commit is contained in:
Soufiane Fariss
2024-08-16 23:37:30 +02:00
parent 00cce585d6
commit 4501955728

View File

@@ -75,9 +75,7 @@ defineProps({
const getTooltipContent = (data) => {
if (data.typeValue === "number" || data.typeValue === "offset") {
const decimalValue = parseInt(data.name, 16);
const octalValue = "0o" + decimalValue.toString(8);
return `Decimal: ${decimalValue}
Octal: ${octalValue}`;
return `Decimal: ${decimalValue}`;
}
return null;
};