Skip to content

Instantly share code, notes, and snippets.

Created January 2, 2017 23:11
What would you like to do?
Bytes to megabytes.
private usedMb(): number | undefined {
if (this.props.usedBytes) {
return (this.props.usedBytes / (1024 * 1024));
return undefined;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment