DtvLong dal_bsf_fmt_flo (str, siz, cnt, sig)

Formats the passed string as real number corresponding to the passed parameters.

Input Parameters Significance
char *str real number sring to be formatted
DtvLong siz total length of the real number
DtvLong cnt number of digits after the decimal point
char sig kind of decimal delimiter (point or comma)

Output Parameters Significance
char *str formated real number string

Return Code Significance
0 no error
1 too many digits before the decimal delimiter

DataView calls tis function by default when leaving a field of the float or money type.

The function expects a correct real number expression. For this reason you should always call the function dal_bsf_chk_flo before formatting the real number string.