- Aug
- 2,134
- 92
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 30.00.22 x64 Windows 10 [Version 10.0.19044.3086]
BuildNumber Caption CSDVersion OSArchitecture Version
19044 Microsoft Windows 10 Pro 64-bit 10.0.19044
Presented as an example;
Code:
set ppp=2.99186
printf "%8.2f" %ppp
2.99
Above works as it should.
Capturing printf output;
Code:
echo %{printf "%8.2f" %ppp}
.2f
Capturing printf output by doubling the % of the format string works;
Code:
echo %{printf "%%8.2f" %ppp}
2.99
Not sure if this is WAD, but posting for my future reference.
Joe
Ref: Take Command / TCC Help v. 30