Skip to content

Commit

Permalink
remove octal repr for hex values
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Aug 16, 2024
1 parent 00cce58 commit 4501955
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/explorer/src/components/columns/RuleColumn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 4501955

Please sign in to comment.