gb in bytes

This block is part of the number group and was last modified in core v15.0.0.

gb in bytes v15.0.0

Converts an amount of gigabytes (GB) to bytes. Binary/1024-based: 1 GB = 1,073,741,824 bytes.

In pins 1
  • GB required
    number

    amount of gigabytes

Out pins 1
  • bytes
    number

Outputs the number pin (gigabytes) multiplied by 1,073,741,824 : binary/1024-based, so 1 GB = 1024^3 bytes, not the SI 10^9. Numeric strings and booleans coerce; an unwired, nil, or non-numeric input outputs nil. Example: number=2 -> 2147483648.

gigabytes
bytes
size
filesize

A typical wiring for GB in bytes: the number out pin feeds cast to value.

Studio canvas example for the GB in bytes block: typical wiring for GB in bytes.

Version history

Introduced in v15.0.0.


Back to number Return to the main group to view all sub-groups Back to bytes Return to the group to view all blocks within this group