Created
January 2, 2017 23:11
-
-
Save dooman87/7f648259d237fddadfc59bdd5fc4bd14 to your computer and use it in GitHub Desktop.
Bytes to megabytes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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