RF24Log  0.1.3
Unified logging library
All Classes Files Functions Variables Enumerations Enumerator Macros Modules Pages
Functions
Common.cpp File Reference
#include "Common.h"

Go to the source code of this file.

Functions

uint16_t numbCharsToPrint (int64_t numb, uint8_t base)
 how wide (in characters) does it take to display a number More...
 

Detailed Description

Date
Created 2 Oct 2020
Author
Brendan Doherty (2bndy5)

Definition in file Common.cpp.

Function Documentation

◆ numbCharsToPrint()

uint16_t numbCharsToPrint ( int64_t  numb,
uint8_t  base = 10 
)

how wide (in characters) does it take to display a number

Parameters
numbThe number to represent
baseThe base counting scheme. Defaults to 10 for decimal counting system

Definition at line 18 of file Common.cpp.