ScratchData LogoScratchData
Back to k0d3rrr_alt's profile

Converting a byte into an integer

K0k0d3rrr_alt•Created August 4, 2024
Converting a byte into an integer
1
1
6 views
View on Scratch

Instructions

Note: The byte-to-integer conversion script only supports unsigned integers (integers that can only be either zero or positive). Also, the reason why I say 'integer' is because the number at the end of the project doesn't have decimals. There are 8 bits in a byte. Each bit is stored as a power of two (from left to right: 128, 64, 32, 16, 8, 4, 2, and 1). The maximum value a byte can store is 255 (o11111111 in binary). For example, 00011000 equals 24 (16 + 8 = 24).

Description

Byte-to-integer conversion script created by me. If you end up using my script in one of your projects, make sure to credit my main account (@k0d3rrr).

Project Details

Project ID1052426051
CreatedAugust 4, 2024
Last ModifiedAugust 4, 2024
SharedAugust 4, 2024
Visibilityvisible
CommentsAllowed