Show/Hide Toolbars

Take Command / TCC Help v. 21

@FORMATNC[[-]width[.precision],value] : Formats a numeric value and automatically inserts the thousands separator. Width is a nonnegative integer specifying the minimum number of characters printed. If Width has a leading 0, the number will be left-padded with zeros. If the number of characters in the output value is less than the specified width, blanks are added to the left or the right of the values depending on whether the "-" flag (for left alignment) is specified, until the minimum width is reached. Precision specifies the number of digits after the decimal point. The value is rounded to the appropriate number of digits.




echo %@formatnc[5.10,%@eval[2300*4.7]]



echo %@formatnc[010.3,5]