Skip to content

negative values in HEX$, OCT$, BIN$ #59

Description

@blackborn66

for positive values the functions HEX$, OCT$, BIN$ are working fine,
but for negative values of BYTE and INTEGER the results are looking strange:

-1 => "FFFFFFFF"

because the parameter is converted to LONG in between.

no big problem, you can use a workaround: first convert to UBYTE or UINTEGER

but anytime it should be fixed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions