Format numbers for presentation, with proper rounding of data

num_fmt(var, digits = 0, size = 10, int_len = 3)

Arguments

var

Variable to format

digits

Desired number of decimal places

size

String size

int_len

Space allotted for integer side of the decimal

Value

Formatted string