mb in bytes
This block is part of the number group and was last modified in core v15.0.0.
mb in bytes v15.0.0 Converts an amount of megabytes (MB) to bytes. Binary/1024-based: 1 MB = 1,048,576 bytes.
In pins 1
- MB required
numberamount of megabytes
Out pins 1
- bytes
number
Outputs the number pin (megabytes) multiplied by 1,048,576 : binary/1024-based, so 1 MB = 1024^2 bytes, not the SI 10^6. Numeric strings and booleans coerce; an unwired, nil, or non-numeric input outputs nil. Example: number=1.5 -> 1572864.
megabytes |
bytes |
size |
filesize |
A typical wiring for MB in bytes: the number out pin feeds cast to value.
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 