format_four_chars {plotcli} | R Documentation |
Format number to four characters
Description
This function formats a number to a string of exactly four characters.
Usage
format_four_chars(num)
Arguments
num |
The number to be formatted. |
Value
A string representation of the number with exactly four characters.
Examples
format_four_chars(123)
format_four_chars(-12.34)
[Package plotcli version 0.1.0 Index]