(bytes: number)
| 157 | |
| 158 | /** Megabytes with one decimal, for a size the server gave in bytes. */ |
| 159 | export function megabytes(bytes: number): string { |
| 160 | return (bytes / (1024 * 1024)).toFixed(1); |
| 161 | } |
| 162 | |
| 163 | // ------------------------------------------------------------------- adr -- |
| 164 |
no outgoing calls
no test coverage detected