Spell Correction: Avilable disk space: 454737.3 MB
Bob S > On Jul 15, 2024, at 4:24 PM, Bob Sneidar <bobsnei...@iotecdigital.com> wrote: > > Thanks Richard. > > Bob S > > >> On Jul 15, 2024, at 4:07 PM, Richard Gaskin via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> function Bytes2Size n >> set the numberformat to "0.#" >> if n < 1024 then put n &" bytes" into n >> else >> put n / 1024 into n >> if n < 1024 then put n &" k" into n >> else >> put n / 1024 &" MB" into n >> end if >> end if >> return n >> end Bytes2Size > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode