Nano can be represented using more than one unit of measurement. While the most common unit is the , the smallest unit is the . Below is the formula for converting between and .
All RPC commands expect units to be represented as .
Depending on your implementation language, you may require a big number library to perform arithmetic directly on .
Always keep units in integer amounts to prevent any floating-point error or unit confusion.