May i use function format as C++ printf?

May i use function format as C++ printf?

Anonymous
Not applicable
576 Views
1 Reply
Message 1 of 2

May i use function format as C++ printf?

Anonymous
Not applicable

I want to convert a float(0.3386655) to a percent(33.86%),i search on Internet and find some script like format (".2%"),but it looks use in C++,so any methods to do this?

0 Likes
577 Views
1 Reply
Reply (1)
Message 2 of 2

istan
Advisor
Advisor

yes. in c++ the printf() works perfectly..

you forgot to tell us, which programming language you use: C#, MXS, Python,...

MXS: search for formattedprint

0 Likes