pyfan.amto.numeric.round.ff_decimal_rounder

pyfan.amto.numeric.round.ff_decimal_rounder(ls_fl_num2format, it_or_dc_round_decimal, verbose=False)[source]

Decimal rounding function with common decimal formatting

Parameters
ls_fl_num2formatlist of float

see ff_decimal_rounder()

it_or_dc_round_decimalint or dict

the number of decimal points to keep. If dict, same as dc_round_decimal for ff_decimal_rounder(). If decimal, generate dict that provides common formating

Returns
list of str

Decimal formatted string outputs