Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » FormatBytes function (A helper function to format bytes.)
Re: FormatBytes function [message #48601 is a reply to message #48600] Sat, 05 August 2017 22:22 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1226
Registered: August 2007
Senior Contributor
Hello,

Sure. This version isn't really meant to hande YB and ZB.
I'd reserved those constants for future use, for I was going to implement a custom formatter instead of FormatInt64 (and change the function signature).
However, IMO, TB is practically the limit.
While I personally use this function (it is handy), there is already an undocumented FormatFileSize() function in U++ (which I later discovered).

Best regards,
Oblivion.


[Updated on: Sun, 06 August 2017 09:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: SetLineKeyValue - in memory
Next Topic: UTTS: U++ Text to Speech
Goto Forum:
  


Current Time: Mon Aug 25 00:26:27 CEST 2025

Total time taken to generate the page: 0.05239 seconds