We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Utility class for converting from one value to another.
Converts a byte number into a human readable format.
echo Conversions::bytesToHuman(100); // Outputs: "100B" echo Conversions::bytesToHuman(1024); // Outputs: "1KB" echo Conversions::bytesToHuman(1050); // Outputs: "1.02KB"
Format a number.
echo Conversions::numberFormat(1024); // Output: "1,024" echo Conversions::numberFormat(1024.23); // Outputs: "1,024.23"