Introducing NumberFormat: Convert Between Hex, Octal, Binary, and Decimal in Coda

Hello everyone.

I’m excited to share my latest creation with the Coda community — the NumberFormat Pack! This pack offers a set of formulas that enable you to effortlessly convert numbers between decimal, hexadecimal, octal, and binary formats. Whether you need to display a number in hex for coding purposes, in octal for system operations, or in binary for low-level programming, NumberFormat has you covered.

Features of the NumberFormat Pack include:

  • Conversion Tools: Convert from decimal to hexadecimal, octal, or binary and vice versa.
  • String Handling: Treats hexadecimal, octal, and binary values as strings to ensure precise formatting.
  • Optional Padding: When converting from decimal, you can specify a minimum length for the result. This is particularly useful if you need to pad your number with zeros to meet system requirements or maintain uniformity in data presentation.

This pack is particularly useful for developers, data analysts, and anyone who deals with various numeral systems in their documents. I hope you find the NumberFormat Pack as useful as I do in making your workflows more efficient and your data more comprehensible.

Here is an example doc

Best Regards
Arnhold

8 Likes