Skip to content

Making the Pattern Data Value display in hexadecimal #1914

Answered by WerWolv
Lexden12 asked this question in Get Help
Discussion options

You must be logged in to vote

Hey the easiest way to do it is by using the type.base library.

import type.base;

type::Hex<u32> hexValue @ 0x00;

Can be shortened down with a using declaration of course, if you prefer that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lexden12
Comment options

Answer selected by Lexden12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants