int_value = -13516; There's a value like this, but I want to change it to a hexadecimal value.
int_value = -13516;
hex_value = Integer.toHexString(int_value);
I did it like above, but the value comes out ffffcb34
ffffcb34
But what I want is -34CC. Did I do something wrong?
-34CC
Looking up the document, Integer.toHexString returns the hexadecimal number of unsigned values. I think if you do Integer.toString(value,16), you'll get the result you want.
547 /usr/bin/google-chrome:symbol lookup error:/usr/bin/google-chrome: undefined symbol:gbm_bo_get_modifier
966 In Java servlet, when SHA-256 sends WW-Authenticate header for digest authentication, the client does not return the result.
622 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
513 The method of the class of the application that I am creating in Typescript does not work as I expected.
536 Understanding How to Configure Google API Key
© 2024 OneMinuteCode. All rights reserved.